From aeefe116e186f38b9b7813e7363b5460efa3b3a1 Mon Sep 17 00:00:00 2001 From: "Spivak Vladimir (cwolf3d)" Date: Sun, 27 Oct 2019 21:07:36 +0200 Subject: add_curve_extra_objects: added icons --- add_curve_extra_objects/__init__.py | 4 ++-- add_curve_extra_objects/add_curve_simple.py | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'add_curve_extra_objects') 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 -- cgit v1.2.3