fix [#26754] Live Edit and Editing UI scripts don't work
[blender-staging.git] / release / scripts / startup / bl_ui / properties_data_camera.py
index 6427e1c5180eb4d05aaf4de1ab08e3aa10d950b4..24163dc1f3022cf5f05c95bf6b68378a509749ad 100644 (file)
@@ -134,3 +134,6 @@ class DATA_PT_custom_props_camera(CameraButtonsPanel, PropertyPanel, bpy.types.P
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
     _context_path = "object.data"
     _property_type = bpy.types.Camera
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)