fix for crash with GLSL material when image couldn't be loaded.
[blender-staging.git] / release / scripts / ui / properties_texture.py
index 1e786394ae0870e70c3fd4c5505caef215c4d631..8063dc92166e2c21bd4a681e1e9fcf9cc0098c7f 100644 (file)
@@ -1007,7 +1007,7 @@ class TEXTURE_PT_influence(TextureSlotPanel, bpy.types.Panel):
 
             row = layout.row()
             # only show bump settings if activated but not for normalmap images
-            row.active = tex.use_map_normal and not( tex.texture.type == 'IMAGE' and tex.texture.use_normal_map )
+            row.active = tex.use_map_normal and not (tex.texture.type == 'IMAGE' and tex.texture.use_normal_map)
 
             col = row.column()
             col.prop(tex, "bump_method", text="Method")