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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Rahn <conz@vrchannel.de>2011-01-24 14:44:01 +0300
committerConstantin Rahn <conz@vrchannel.de>2011-01-24 14:44:01 +0300
commitcd36f92c7890474dd6a08a10e18bd426e784c15c (patch)
tree09030e1470486dc89fdab5de46ebd9a2f026f075 /render_povray/__init__.py
parentb473917eb208c43bd580b48d84df876a18b4a057 (diff)
Optimized export to OS Tempfiles.
The output to Tempfiles no longer exports comments, indentations or LFs (in lists). New option in Export settings to deactivate LF (line brakes) in lists. Fixed a material export for normal maps. Was exported two times. Paths to images are now realpaths, no /../ in absolut paths.
Diffstat (limited to 'render_povray/__init__.py')
-rw-r--r--render_povray/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index 234761b6..e346fc16 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -70,6 +70,10 @@ def register():
name="Rendered image path",
description="Full path to directory where the rendered image is saved.",
default="", maxlen=1024, subtype="DIR_PATH")
+ Scene.pov_list_lf_enable = BoolProperty(
+ name="LF in lists",
+ description="Enable line brakes in lists (vectors and indices). Disabled: lists are exported in one line.",
+ default=True)
# Not a real pov option, just to know if we should write
Scene.pov_radio_enable = BoolProperty(
@@ -318,6 +322,7 @@ def unregister():
del Scene.pov_deletefiles_enable # CR
del Scene.pov_scene_path # CR
del Scene.pov_renderimage_path # CR
+ del Scene.pov_list_lf_enable # CR
del Scene.pov_radio_enable
del Scene.pov_radio_display_advanced
del Scene.pov_radio_adc_bailout