fix for modal timer template, wasnt updated for changes to themes.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 27 Apr 2012 10:00:21 +0000 (10:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 27 Apr 2012 10:00:21 +0000 (10:00 +0000)
release/scripts/templates/operator_modal_timer.py

index ec47390da81f079dde40b9589ae183606c03242e..ebbf6395df56dc441b373ed775ba592d21626804 100644 (file)
@@ -14,7 +14,7 @@ class ModalTimerOperator(bpy.types.Operator):
 
         if event.type == 'TIMER':
             # change theme color, silly!
-            color = context.user_preferences.themes[0].view_3d.back
+            color = context.user_preferences.themes[0].view_3d.space.back
             color.s = 1.0
             color.h += 0.01