[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3450] trunk/py/scripts/addons/ space_view3d_screencast_keys.py: Screencast Keys Addon

Pablo Vazquez venomgfx at gmail.com
Mon Jun 4 19:30:36 CEST 2012


Revision: 3450
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3450
Author:   venomgfx
Date:     2012-06-04 17:30:34 +0000 (Mon, 04 Jun 2012)
Log Message:
-----------
Screencast Keys Addon

- Noticed in some tests[1] that when speeding up even just 2x the maximum fade time felt small, increased max to 10 (but kept softmax as 5)

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	2012-06-04 11:08:56 UTC (rev 3449)
+++ trunk/py/scripts/addons/space_view3d_screencast_keys.py	2012-06-04 17:30:34 UTC (rev 3450)
@@ -641,9 +641,10 @@
     scene.screencast_keys_box_width = bpy.props.IntProperty(
         name="Box Width",
         description="Box default width (resizes with text if needed)",
-        default=0,
-        min=0,
-        max=1024)
+        default = 0,
+        min = 0,
+        max = 2048,
+        soft_max = 1024)
     scene.screencast_keys_mouse = bpy.props.EnumProperty(
         items=(("none", "No Mouse", "Don't display mouse events"),
               ("icon", "Icon", "Display graphical representation of "\
@@ -671,7 +672,9 @@
         description = "Time in seconds for keys to last on screen",
         default = 3.5,
         min = 0.5,
-        max = 5.0,
+        max = 10.0,
+        soft_max = 5.0,
+        step = 10,
         subtype = 'TIME')
     scene.screencast_keys_show_operator = bpy.props.BoolProperty(
         name="Display Last Operator",



More information about the Bf-extensions-cvs mailing list