only pick objects in same scene
This commit is contained in:
parent
6b39b5f2b1
commit
2ffadc19eb
|
@ -26,7 +26,7 @@ def property_group_from_infos(property_group_name, property_group_parameters):
|
||||||
return (property_group_pointer, property_group_class)
|
return (property_group_pointer, property_group_class)
|
||||||
|
|
||||||
def is_entity_poll(self, object):
|
def is_entity_poll(self, object):
|
||||||
return True # TODO: only select `object.type`s that get converted to entities
|
return bpy.context.scene in object.users_scene # TODO: only select `object.type`s that get converted to entities and maybe something against other collection(instances)?
|
||||||
|
|
||||||
# this is where we store the information for all available components
|
# this is where we store the information for all available components
|
||||||
class ComponentsRegistry(PropertyGroup):
|
class ComponentsRegistry(PropertyGroup):
|
||||||
|
|
Loading…
Reference in New Issue