[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2314] trunk/py/scripts/addons/ space_view3d_screencast_keys.py: updated version to 1.4

Brendon Murphy meta.androcto1 at gmail.com
Wed Sep 7 14:59:19 CEST 2011


Revision: 2314
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2314
Author:   meta-androcto
Date:     2011-09-07 12:59:19 +0000 (Wed, 07 Sep 2011)
Log Message:
-----------
updated version to 1.4
fix for introduced error. All good now.
sorry for many commits but the results are worth it.

Modified Paths:
--------------
    trunk/py/scripts/addons/space_view3d_screencast_keys.py

Modified: trunk/py/scripts/addons/space_view3d_screencast_keys.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_screencast_keys.py	2011-09-07 12:12:49 UTC (rev 2313)
+++ trunk/py/scripts/addons/space_view3d_screencast_keys.py	2011-09-07 12:59:19 UTC (rev 2314)
@@ -19,7 +19,8 @@
 # #####
 #
 # Modification history:
-# 07-sep-2011 (Gaia Clary):
+# - Version 1,4
+# - 07-sep-2011 (Gaia Clary):
 # - settings now stored in blend file  
 # - grouping mouse&text 
 # - mouse_size and font_size separated 
@@ -34,7 +35,7 @@
 bl_info = {
     'name': 'Screencast Keys',
     'author': 'Paulo Gomes, Bart Crouch, John E. Herrenyo',
-    'version': (1, 3),
+    'version': (1, 4),
     'blender': (2, 5, 9),
     'api': 39933,
     'location': 'View3D > Properties panel > Screencast Keys',
@@ -405,7 +406,7 @@
         #if (event.value != "NOTHING" and event.value != "PRESS"):
         #    print (event.value, event.type, "Previous activity was: ", self.last_activity)
 
-        if event.value == 'PRESS' or (event.value == 'RELEASE' and self.last_activity == 'KEYBOARD') :
+        if event.value == 'PRESS' or (event.value == 'RELEASE' and self.last_activity == 'KEYBOARD' and  event.type in mouse_keys ) :
             # add key-press to display-list
             sc_keys = []
 



More information about the Bf-extensions-cvs mailing list