forked from bartvdbraak/blender
Fix #37338: Add objects from addon work in a Linked Scene
Added a poll function to add object helper which checks whether scene is linked or not. All the primitives which are delivered from this helper will work properly for linked scenes. If there're still primitives which are not delivered from this class, well nothing i can do now.
This commit is contained in:
parent
921d3555ed
commit
be09e694b1
@ -201,6 +201,10 @@ class AddObjectHelper:
|
||||
subtype='EULER',
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def poll(self, context):
|
||||
return context.scene.library is None
|
||||
|
||||
|
||||
def object_add_grid_scale(context):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user