[Bf-blender-cvs] [cbf76d1] master: Fix missing UV field in Wave modifier.

Bastien Montagne noreply at git.blender.org
Thu Nov 13 08:57:17 CET 2014


Commit: cbf76d165f968c10ab74980de0d6f8865d839f54
Author: Bastien Montagne
Date:   Thu Nov 13 08:56:39 2014 +0100
Branches: master
https://developer.blender.org/rBcbf76d165f968c10ab74980de0d6f8865d839f54

Fix missing UV field in Wave modifier.

===================================================================

M	release/scripts/startup/bl_ui/properties_data_modifier.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index efc430d..7a96996 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -962,7 +962,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
         col = split.column()
         col.template_ID(md, "texture", new="texture.new")
         layout.prop(md, "texture_coords")
-        if md.texture_coords == 'MAP_UV' and ob.type == 'MESH':
+        if md.texture_coords == 'UV' and ob.type == 'MESH':
             layout.prop_search(md, "uv_layer", ob.data, "uv_textures")
         elif md.texture_coords == 'OBJECT':
             layout.prop(md, "texture_coords_object")




More information about the Bf-blender-cvs mailing list