diff options
Diffstat (limited to 'release/scripts/ui/properties_data_lattice.py')
-rw-r--r-- | release/scripts/ui/properties_data_lattice.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/ui/properties_data_lattice.py b/release/scripts/ui/properties_data_lattice.py index 05b331ea0a2..6bdb36d3520 100644 --- a/release/scripts/ui/properties_data_lattice.py +++ b/release/scripts/ui/properties_data_lattice.py @@ -80,19 +80,20 @@ class DATA_PT_lattice(DataButtonsPanel, bpy.types.Panel): row = layout.row() row.prop(lat, "use_outside") row.prop_search(lat, "vertex_group", context.object, "vertex_groups", text="") - + class DATA_PT_custom_props_lattice(DataButtonsPanel, PropertyPanel, bpy.types.Panel): COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'} _context_path = "object.data" + _property_type = bpy.types.Lattice def register(): - pass + bpy.utils.register_module(__name__) def unregister(): - pass + bpy.utils.unregister_module(__name__) if __name__ == "__main__": register() |