Просмотр исходного кода

consistent error print for Selection Sync

Joseph Brandenburg 2 недель назад
Родитель
Сommit
3fec3a5368
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      timers.py

+ 3 - 2
timers.py

@@ -119,13 +119,14 @@ def timer_update_selection_sync():
                     active_ui_signature, view_layer,
                     selection_state, deselect)
             except Exception as e:
+                prRed ("Error in Selection Sync")
                 prRed (e)
                 return SELECTION_POLL_RATE
     except Exception as e:
         from .__init__ import DOERROR
         if DOERROR:
-            print ("Error in Selection Sync")
-            print (e)
+            prRed ("Error in Selection Sync")
+            prRed (e)
             raise e
     return SELECTION_POLL_RATE