fix [#26754] Live Edit and Editing UI scripts don't work
[blender-staging.git] / release / scripts / startup / bl_ui / properties_world.py
index 1b2dd4e26aa342628a40aa81501c5c9a5e96bd41..4f398c9fbd97daef2431bc37c12f3772bbf2ed10 100644 (file)
@@ -265,3 +265,6 @@ class WORLD_PT_custom_props(WorldButtonsPanel, PropertyPanel, bpy.types.Panel):
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
     _context_path = "world"
     _property_type = bpy.types.World
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)