Objects: new 3D cursor alignment option when adding objects
The choices are now World, View and 3D Cursor. This breaks Python API compatibility, add-ons that add objects with this parameter will need to be updated. Differential Revision: https://developer.blender.org/D4706
This commit is contained in:

committed by
Brecht Van Lommel

parent
ddae9c9232
commit
06fe2a5e0c
@@ -912,7 +912,7 @@ class LoadImageAsEmpty:
|
||||
'INVOKE_REGION_WIN',
|
||||
type='IMAGE',
|
||||
location=cursor,
|
||||
view_align=self.view_align,
|
||||
align=('VIEW' if self.view_align else 'WORLD'),
|
||||
)
|
||||
|
||||
obj = context.active_object
|
||||
|
Reference in New Issue
Block a user