fix [#26754] Live Edit and Editing UI scripts don't work
[blender-staging.git] / release / scripts / startup / bl_ui / properties_data_lattice.py
index 5f2fa4b4920fc6fdd1abb4fb9e2e197e74891e51..cd719b6fe8488c12ee503b559ea654b6aff50361 100644 (file)
@@ -80,3 +80,6 @@ class DATA_PT_custom_props_lattice(DataButtonsPanel, PropertyPanel, bpy.types.Pa
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
     _context_path = "object.data"
     _property_type = bpy.types.Lattice
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)