diff options
author | Maurice Raybaud <mauriceraybaud@hotmail.fr> | 2013-08-31 17:35:28 +0400 |
---|---|---|
committer | Maurice Raybaud <mauriceraybaud@hotmail.fr> | 2013-08-31 17:35:28 +0400 |
commit | e3469ffd06efaf241b77e46cc12309b199e0370e (patch) | |
tree | c653e6f6f9859c1e9af20fe9ef6dccb7e56677d4 /render_povray/ui.py | |
parent | 03a8bde12fd96ebb72f97fd02f3dd44dc6889466 (diff) |
*Fixed one bug with multi-materials bearing custom pov code
*Commented out a property that was not yet implemented in exporter
*Added frame number export for hand made pov animation
Thanks to a patch made by Markku Myllymäki
Diffstat (limited to 'render_povray/ui.py')
-rw-r--r-- | render_povray/ui.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/render_povray/ui.py b/render_povray/ui.py index d53f2804..7334909c 100644 --- a/render_povray/ui.py +++ b/render_povray/ui.py @@ -518,19 +518,19 @@ class TEXTURE_PT_povray_tex_gamma(TextureButtonsPanel, bpy.types.Panel): layout.active = tex.pov.tex_gamma_enable layout.prop(tex.pov, "tex_gamma_value", text="Gamma Value") +#commented out below UI for texture only custom code inside exported material: +# class TEXTURE_PT_povray_replacement_text(TextureButtonsPanel, bpy.types.Panel): + # bl_label = "Custom POV Code" + # COMPAT_ENGINES = {'POVRAY_RENDER'} -class TEXTURE_PT_povray_replacement_text(TextureButtonsPanel, bpy.types.Panel): - bl_label = "Custom POV Code" - COMPAT_ENGINES = {'POVRAY_RENDER'} - - def draw(self, context): - layout = self.layout + # def draw(self, context): + # layout = self.layout - tex = context.texture + # tex = context.texture - col = layout.column() - col.label(text="Replace properties with:") - col.prop(tex.pov, "replacement_text", text="") + # col = layout.column() + # col.label(text="Replace properties with:") + # col.prop(tex.pov, "replacement_text", text="") class OBJECT_PT_povray_obj_importance(ObjectButtonsPanel, bpy.types.Panel): |