fix [#26754] Live Edit and Editing UI scripts don't work
[blender-staging.git] / release / scripts / startup / bl_ui / properties_data_lamp.py
index 00919d64ca53899dd25c3f7caeb570fc4af1d49a..36010c8b51100b82287e4cc2d4e8cf15f21efaf6 100644 (file)
@@ -384,3 +384,6 @@ class DATA_PT_custom_props_lamp(DataButtonsPanel, PropertyPanel, bpy.types.Panel
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
     _context_path = "object.data"
     _property_type = bpy.types.Lamp
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)