fix [#26754] Live Edit and Editing UI scripts don't work
[blender-staging.git] / release / scripts / startup / bl_ui / properties_data_mesh.py
index 62e60cd7a1675f0d644c954f93499d64ba70e4cd..b1d1789fadd0024fb5315e6e7168a3e092fc2a3e 100644 (file)
@@ -349,3 +349,6 @@ class DATA_PT_custom_props_mesh(MeshButtonsPanel, PropertyPanel, bpy.types.Panel
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
     _context_path = "object.data"
     _property_type = bpy.types.Mesh
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)