diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-10-23 12:16:47 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-10-30 12:09:51 +0300 |
commit | ff7be963228c95a89bca3f75b291f50fa8b153e1 (patch) | |
tree | e2e243418101aa325b0e4f99376333b96926b709 /intern/cycles/blender | |
parent | d45c7c997f18d16cacd8e955e1a99b6bf521f637 (diff) |
Toggle 'PLAY' <> 'PAUSE' icons for pausing preview rendering
mentioned in T70974
Maniphest Tasks: T70974
Differential Revision: https://developer.blender.org/D6119
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index b2624b2aa81..4ff154d4bcd 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -2166,7 +2166,7 @@ def draw_pause(self, context): if view.shading.type == 'RENDERED': cscene = scene.cycles - layout.prop(cscene, "preview_pause", icon='PAUSE', text="") + layout.prop(cscene, "preview_pause", icon='PLAY' if cscene.preview_pause else 'PAUSE', text="") def get_panels(): |