Skip to content

Commit

Permalink
added the reset icon
Browse files Browse the repository at this point in the history
  • Loading branch information
johnroper100 committed Sep 1, 2016
1 parent 0184011 commit 88b3b33
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def draw(self, context):
else:
layout.prop(group, "freezePlacement")

op = layout.operator(SCENE_OT_cm_groups_reset.bl_idname)
op = layout.operator(SCENE_OT_cm_groups_reset.bl_idname, icon_value=cicon('reset'))
op.groupName = group.name
else:
layout.label("No group selected")
Expand Down
2 changes: 1 addition & 1 deletion cm_blenderData.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class group_entry(PropertyGroup):
groupType = EnumProperty(items = [("auto", "Auto", "Created by nodes"),
("manual", "Manual", "Manually added")],
default = "auto")
freezePlacement = BoolProperty(default=False)
freezePlacement = BoolProperty(name="Freeze Placement", default=False)


class manual_props(PropertyGroup):
Expand Down
2 changes: 1 addition & 1 deletion icon_load.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import bpy

ICONS = '1_agent 2_agents 3_agents debug minus_green minus_red node_tree_logo plus_green plus_yellow setup_plug start_sim stop_sim agents'.split(' ')
ICONS = '1_agent 2_agents 3_agents debug minus_green minus_red node_tree_logo plus_green plus_yellow setup_plug start_sim stop_sim agents reset'.split(' ')
icon_collection = {}

def register_icons():
Expand Down
Binary file added icons/reset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 88b3b33

Please sign in to comment.