[Bf-extensions-cvs] [aeefe116] master: add_curve_extra_objects: added icons

Spivak Vladimir cwolf3d noreply at git.blender.org
Sun Oct 27 20:08:19 CET 2019


Commit: aeefe116e186f38b9b7813e7363b5460efa3b3a1
Author: Spivak Vladimir (cwolf3d)
Date:   Sun Oct 27 21:07:36 2019 +0200
Branches: master
https://developer.blender.org/rBAaeefe116e186f38b9b7813e7363b5460efa3b3a1

add_curve_extra_objects: added icons

===================================================================

M	add_curve_extra_objects/__init__.py
M	add_curve_extra_objects/add_curve_simple.py

===================================================================

diff --git a/add_curve_extra_objects/__init__.py b/add_curve_extra_objects/__init__.py
index e659661c..78f3a189 100644
--- a/add_curve_extra_objects/__init__.py
+++ b/add_curve_extra_objects/__init__.py
@@ -247,9 +247,9 @@ def menu_func(self, context):
     layout = self.layout
 
     layout.operator_menu_enum("curve.curveaceous_galore", "ProfileType", icon='CURVE_DATA')
-    layout.operator_menu_enum("curve.spirals", "spiral_type", icon='CURVE_DATA')
+    layout.operator_menu_enum("curve.spirals", "spiral_type", icon='FORCE_VORTEX')
     layout.separator()
-    layout.operator("curve.curlycurve", text="Curly Curve", icon='CURVE_DATA')
+    layout.operator("curve.curlycurve", text="Curly Curve", icon='GP_ONLY_SELECTED')
     if context.mode != 'OBJECT':
         # fix in D2142 will allow to work in EDIT_CURVE
         return None
diff --git a/add_curve_extra_objects/add_curve_simple.py b/add_curve_extra_objects/add_curve_simple.py
index e0dc2807..c73cb623 100644
--- a/add_curve_extra_objects/add_curve_simple.py
+++ b/add_curve_extra_objects/add_curve_simple.py
@@ -817,60 +817,60 @@ def main(context, self, align_matrix, use_enter_edit_mode):
         Curve.data.fill_mode = 'BOTH'
 
 def menu(self, context):
-    oper1 = self.layout.operator(Simple.bl_idname, text="Angle", icon="MOD_CURVE")
+    oper1 = self.layout.operator(Simple.bl_idname, text="Angle", icon="DRIVER_ROTATIONAL_DIFFERENCE")
     oper1.Simple_Type = "Angle"
     oper1.use_cyclic_u = False
 
-    oper2 = self.layout.operator(Simple.bl_idname, text="Arc", icon="MOD_CURVE")
+    oper2 = self.layout.operator(Simple.bl_idname, text="Arc", icon="MOD_THICKNESS")
     oper2.Simple_Type = "Arc"
     oper2.use_cyclic_u = False
 
-    oper3 = self.layout.operator(Simple.bl_idname, text="Circle", icon="MOD_CURVE")
+    oper3 = self.layout.operator(Simple.bl_idname, text="Circle", icon="ANTIALIASED")
     oper3.Simple_Type = "Circle"
     oper3.use_cyclic_u = True
 
-    oper4 = self.layout.operator(Simple.bl_idname, text="Distance", icon="MOD_CURVE")
+    oper4 = self.layout.operator(Simple.bl_idname, text="Distance", icon="DRIVER_DISTANCE")
     oper4.Simple_Type = "Distance"
     oper4.use_cyclic_u = False
 
-    oper5 = self.layout.operator(Simple.bl_idname, text="Ellipse", icon="MOD_CURVE")
+    oper5 = self.layout.operator(Simple.bl_idname, text="Ellipse", icon="MESH_TORUS")
     oper5.Simple_Type = "Ellipse"
     oper5.use_cyclic_u = True
 
-    oper6 = self.layout.operator(Simple.bl_idname, text="Line", icon="MOD_CURVE")
+    oper6 = self.layout.operator(Simple.bl_idname, text="Line", icon="MOD_SIMPLIFY")
     oper6.Simple_Type = "Line"
     oper6.use_cyclic_u = False
     oper6.shape = '3D'
 
-    oper7 = self.layout.operator(Simple.bl_idname, text="Point", icon="MOD_CURVE")
+    oper7 = self.layout.operator(Simple.bl_idname, text="Point", icon="LAYER_ACTIVE")
     oper7.Simple_Type = "Point"
     oper7.use_cyclic_u = False
 
-    oper8 = self.layout.operator(Simple.bl_idname, text="Polygon", icon="MOD_CURVE")
+    oper8 = self.layout.operator(Simple.bl_idname, text="Polygon", icon="SEQ_CHROMA_SCOPE")
     oper8.Simple_Type = "Polygon"
     oper8.use_cyclic_u = True
 
-    oper9 = self.layout.operator(Simple.bl_idname, text="Polygon ab", icon="MOD_CURVE")
+    oper9 = self.layout.operator(Simple.bl_idname, text="Polygon ab", icon="SEQ_CHROMA_SCOPE")
     oper9.Simple_Type = "Polygon_ab"
     oper9.use_cyclic_u = True
 
-    oper10 = self.layout.operator(Simple.bl_idname, text="Rectangle", icon="MOD_CURVE")
+    oper10 = self.layout.operator(Simple.bl_idname, text="Rectangle", icon="MESH_PLANE")
     oper10.Simple_Type = "Rectangle"
     oper10.use_cyclic_u = True
 
-    oper11 = self.layout.operator(Simple.bl_idname, text="Rhomb", icon="MOD_CURVE")
+    oper11 = self.layout.operator(Simple.bl_idname, text="Rhomb", icon="DECORATE_ANIMATE")
     oper11.Simple_Type = "Rhomb"
     oper11.use_cyclic_u = True
 
-    oper12 = self.layout.operator(Simple.bl_idname, text="Sector", icon="MOD_CURVE")
+    oper12 = self.layout.operator(Simple.bl_idname, text="Sector", icon="CON_SHRINKWRAP")
     oper12.Simple_Type = "Sector"
     oper12.use_cyclic_u = True
 
-    oper13 = self.layout.operator(Simple.bl_idname, text="Segment", icon="MOD_CURVE")
+    oper13 = self.layout.operator(Simple.bl_idname, text="Segment", icon="MOD_SIMPLEDEFORM")
     oper13.Simple_Type = "Segment"
     oper13.use_cyclic_u = True
 
-    oper14 = self.layout.operator(Simple.bl_idname, text="Trapezoid", icon="MOD_CURVE")
+    oper14 = self.layout.operator(Simple.bl_idname, text="Trapezoid", icon="MOD_EDGESPLIT")
     oper14.Simple_Type = "Trapezoid"
     oper14.use_cyclic_u = True



More information about the Bf-extensions-cvs mailing list