diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-01 11:45:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-08 20:46:00 +0300 |
commit | 2ac65f6153a2da2df7cda908689bb7c1865f088d (patch) | |
tree | 8fafb849b75451ebb0ec6ba8d1c70bfbae2f31a7 /release/scripts/startup/bl_ui/properties_physics_common.py | |
parent | 192a99f47784277baa9eab4864bae1b4382b243c (diff) |
UI: new icon set by Andrzej Ambroz.
This is a monochrome icon set, with a more modern look and icons for
various features that did not have a proper icon before.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_common.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py index ff48197b8e2..22b61cde9ef 100644 --- a/release/scripts/startup/bl_ui/properties_physics_common.py +++ b/release/scripts/startup/bl_ui/properties_physics_common.py @@ -45,7 +45,7 @@ def physics_add(self, layout, md, name, type, typeicon, toggles): row.prop(md, "show_viewport", text="") else: row.operator( - "object.modifier_add", text=name, text_ctxt=i18n_contexts.default, icon=typeicon + "object.modifier_add", text=name, text_ctxt=i18n_contexts.default, icon='BLANK1' ).type = type @@ -54,7 +54,7 @@ def physics_add_special(self, layout, data, name, addop, removeop, typeicon): if data: row.operator(removeop, text=name, text_ctxt=i18n_contexts.default, icon='X') else: - row.operator(addop, text=name, text_ctxt=i18n_contexts.default, icon=typeicon) + row.operator(addop, text=name, text_ctxt=i18n_contexts.default, icon='BLANK1') class PHYSICS_PT_add(PhysicButtonsPanel, Panel): @@ -76,7 +76,7 @@ class PHYSICS_PT_add(PhysicButtonsPanel, Panel): col = flow.column() if obj.field.type == 'NONE': - col.operator("object.forcefield_toggle", text="Force Field", icon='FORCE_FORCE') + col.operator("object.forcefield_toggle", text="Force Field", icon='BLANK1') else: col.operator("object.forcefield_toggle", text="Force Field", icon='X') @@ -132,8 +132,8 @@ def point_cache_ui(self, context, cache, enabled, cachetype): cache.point_caches, "active_index", rows=1 ) col = row.column(align=True) - col.operator("ptcache.add", icon='ZOOMIN', text="") - col.operator("ptcache.remove", icon='ZOOMOUT', text="") + col.operator("ptcache.add", icon='ADD', text="") + col.operator("ptcache.remove", icon='REMOVE', text="") if cachetype in {'PSYS', 'HAIR', 'SMOKE'}: col = layout.column() |