didn't meant to commit that

This commit is contained in:
DasLixou 2024-08-22 19:03:58 +02:00
parent 3e24601f1d
commit e47fe1a4bd

View File

@ -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 and maybe something against other collection(instances)? 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):