Hello,
A couple of weeks ago this line of code worked well in 2.8:
bpy.context.scene.cursor_location = (x, y, z)
Current version of Blender returns the following error:
'Scene' object has no attribute 'cursor_location'
How am I supposed to set cursor’s location?
It is now: context.scene.cursor.location
2 Likes
Thanks. Where can I follow all these API changes? My scripts breals every week or so because of various API changes.
stiv
March 11, 2019, 2:09pm
#4
Release Notes:
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API
Cheat Sheet
This is a cheat sheet I originally made for myself to keep track of the Python API changes between 2.79 and 2.80. My goal was was to have a “CTRL F” quick reference I could use to avoid having to dig through API docs and add-on updates every time I...
Reading time: 2 mins 🕑
Likes: 10 ❤
2 Likes