diff options
author | Vladimir Spivak(cwolf3d) <cwolf3d@gmail.com> | 2020-11-29 03:02:26 +0300 |
---|---|---|
committer | Vladimir Spivak(cwolf3d) <cwolf3d@gmail.com> | 2020-11-29 03:02:26 +0300 |
commit | 866dcad5aa6e45737f0634b835adcbc0871201e5 (patch) | |
tree | fab2e6dcb61d009d81e66be2aab4e0256ff4afc4 | |
parent | 3b8bae30de504c8d72909272b6dd061c6c6fe5cb (diff) |
Optimization of the interface. Removed an extra N panel with a strange name "Create", buttons that are already in Add - Curve - Knots.
-rw-r--r-- | add_curve_extra_objects/add_curve_spirofit_bouncespline.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/add_curve_extra_objects/add_curve_spirofit_bouncespline.py b/add_curve_extra_objects/add_curve_spirofit_bouncespline.py index 764e4ff5..41b8a6b5 100644 --- a/add_curve_extra_objects/add_curve_spirofit_bouncespline.py +++ b/add_curve_extra_objects/add_curve_spirofit_bouncespline.py @@ -944,36 +944,15 @@ def draw_spline_settings(self): # ------------------------------------------------------------ -# Spline Panel > VIEW_3D -# ------------------------------------------------------------ -class SplinePanel(Panel): - bl_label = "Spline Generator" - bl_idname = "VIEW3D_PT_spirofit_spline" - bl_space_type = "VIEW_3D" - bl_region_type = "UI" - bl_context = "objectmode" - bl_category = "Create" - bl_options = {'DEFAULT_CLOSED'} - - def draw(self, context): - col = self.layout.column(align=True) - col.operator(SpiroFitSpline.bl_idname, icon="CURVE_DATA") - col.operator(BounceSpline.bl_idname, icon="CURVE_DATA") - col.operator(CatenaryCurve.bl_idname, icon="CURVE_DATA") - - -# ------------------------------------------------------------ # Register # ------------------------------------------------------------ def register(): - bpy.utils.register_class(SplinePanel) bpy.utils.register_class(SpiroFitSpline) bpy.utils.register_class(BounceSpline) bpy.utils.register_class(CatenaryCurve) def unregister(): - bpy.utils.unregister_class(SplinePanel) bpy.utils.unregister_class(SpiroFitSpline) bpy.utils.unregister_class(BounceSpline) bpy.utils.unregister_class(CatenaryCurve) |