fix [#26754] Live Edit and Editing UI scripts don't work
[blender-staging.git] / release / scripts / startup / bl_ui / properties_physics_cloth.py
index 25797f3da8f19f15cd1f6788c3c7b468d849145c..5c7882e97229e4546e1df9fb304f983dc87da2fd 100644 (file)
@@ -216,3 +216,6 @@ class PHYSICS_PT_cloth_field_weights(PhysicButtonsPanel, bpy.types.Panel):
     def draw(self, context):
         cloth = context.cloth.settings
         effector_weights_ui(self, context, cloth.effector_weights)
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)