Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Karhu <jhkarh@gmail.com>2010-10-08 12:56:04 +0400
committerJanne Karhu <jhkarh@gmail.com>2010-10-08 12:56:04 +0400
commit86e77bc53203f49f474f0b95550fc6de9bae4b97 (patch)
treed1df59b92507858ef5590aeb9a57262f9a8471c2 /release
parentc79e054538074d5149296994214397641124d76e (diff)
"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.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_texture.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/release/scripts/ui/properties_texture.py b/release/scripts/ui/properties_texture.py
index bf0c5d56e4c..ebf4e6cdf80 100644
--- a/release/scripts/ui/properties_texture.py
+++ b/release/scripts/ui/properties_texture.py
@@ -864,10 +864,11 @@ class TEXTURE_PT_voxeldata(TextureButtonsPanel, bpy.types.Panel):
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")