[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32376] trunk/blender/release/scripts/ui/ properties_texture.py: "Fix" for [#23863] Smoke Voxel Data Still Frame Number doesn't work

Janne Karhu jhkarh at gmail.com
Fri Oct 8 10:56:05 CEST 2010


Revision: 32376
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32376
Author:   jhk
Date:     2010-10-08 10:56:04 +0200 (Fri, 08 Oct 2010)

Log Message:
-----------
"Fix" for [#23863] Smoke Voxel Data Still Frame Number doesn't work
* Not supported currently so hidden in ui.
* Could be a nice option for later, but will need some proper thought put into the implementation.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/properties_texture.py

Modified: trunk/blender/release/scripts/ui/properties_texture.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_texture.py	2010-10-08 08:07:52 UTC (rev 32375)
+++ trunk/blender/release/scripts/ui/properties_texture.py	2010-10-08 08:56:04 UTC (rev 32376)
@@ -864,10 +864,11 @@
             layout.template_image(tex, "image", tex.image_user, compact=True)
             #layout.prop(vd, "frame_duration")
 
-        layout.prop(vd, "use_still_frame")
-        row = layout.row()
-        row.active = vd.use_still_frame
-        row.prop(vd, "still_frame")
+        if vd.file_format in ('BLENDER_VOXEL', 'RAW_8BIT'):
+            layout.prop(vd, "use_still_frame")
+            row = layout.row()
+            row.active = vd.use_still_frame
+            row.prop(vd, "still_frame")
 
         layout.prop(vd, "interpolation")
         layout.prop(vd, "extension")





More information about the Bf-blender-cvs mailing list