Skip to content

Commit

Permalink
Add node icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
portnov committed Sep 11, 2022
1 parent 716c744 commit f9322e4
Show file tree
Hide file tree
Showing 12 changed files with 570 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nodes/curve/elevate_degree.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SvCurveElevateDegreeNode(bpy.types.Node, SverchCustomTreeNode):
bl_idname = 'SvCurveElevateDegreeNode'
bl_label = 'Elevate Degree (NURBS Curve)'
bl_icon = 'OUTLINER_OB_EMPTY'
sv_icon = 'SV_CURVE_INSERT_KNOT'
sv_icon = 'SV_ELEVATE_CURVE_DEGREE'

modes = [
('DELTA', "Elevate by", "Specify difference between current degree and target degree", 0),
Expand Down
2 changes: 1 addition & 1 deletion nodes/curve/reduce_degree.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SvCurveReduceDegreeNode(bpy.types.Node, SverchCustomTreeNode):
bl_idname = 'SvCurveReduceDegreeNode'
bl_label = 'Reduce Degree (NURBS Curve)'
bl_icon = 'OUTLINER_OB_EMPTY'
sv_icon = 'SV_CURVE_INSERT_KNOT'
sv_icon = 'SV_REDUCE_CURVE_DEGREE'

modes = [
('DELTA', "Reduce by", "Specify difference between current degree and target degree", 0),
Expand Down
2 changes: 1 addition & 1 deletion nodes/surface/elevate_degree.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SvSurfaceElevateDegreeNode(bpy.types.Node, SverchCustomTreeNode):
bl_idname = 'SvSurfaceElevateDegreeNode'
bl_label = 'Elevate Degree (NURBS Surface)'
bl_icon = 'OUTLINER_OB_EMPTY'
sv_icon = 'SV_SURFACE_INSERT_KNOT'
sv_icon = 'SV_ELEVATE_SURFACE_DEGREE'

directions = [
('U', "U", "U direction", 0),
Expand Down
2 changes: 1 addition & 1 deletion nodes/surface/reduce_degree.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SvSurfaceReduceDegreeNode(bpy.types.Node, SverchCustomTreeNode):
bl_idname = 'SvSurfaceReduceDegreeNode'
bl_label = 'Reduce Degree (NURBS Surface)'
bl_icon = 'OUTLINER_OB_EMPTY'
sv_icon = 'SV_SURFACE_INSERT_KNOT'
sv_icon = 'SV_REDUCE_SURFACE_DEGREE'

directions = [
('U', "U", "U direction", 0),
Expand Down
Binary file added ui/icons/sv_elevate_curve_degree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/icons/sv_elevate_surface_degree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/icons/sv_reduce_curve_degree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/icons/sv_reduce_surface_degree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
195 changes: 195 additions & 0 deletions ui/icons/svg/sv_elevate_curve_degree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
88 changes: 88 additions & 0 deletions ui/icons/svg/sv_elevate_surface_degree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f9322e4

Please sign in to comment.