Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Spivak(cwolf3d) <cwolf3d@gmail.com>2020-11-29 03:02:26 +0300
committerVladimir Spivak(cwolf3d) <cwolf3d@gmail.com>2020-11-29 03:02:26 +0300
commit866dcad5aa6e45737f0634b835adcbc0871201e5 (patch)
treefab2e6dcb61d009d81e66be2aab4e0256ff4afc4 /add_curve_extra_objects
parent3b8bae30de504c8d72909272b6dd061c6c6fe5cb (diff)
Optimization of the interface. Removed an extra N panel with a strange name "Create", buttons that are already in Add - Curve - Knots.
Diffstat (limited to 'add_curve_extra_objects')
-rw-r--r--add_curve_extra_objects/add_curve_spirofit_bouncespline.py21
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)