[Bf-blender-cvs] [fa9311c] master: Cleanup: Update comments and make it more clear what volume interpolation is for.

Thomas Dinges noreply at git.blender.org
Mon Feb 16 22:11:50 CET 2015


Commit: fa9311c9a48601daaee183232d94d483dd93327f
Author: Thomas Dinges
Date:   Mon Feb 16 22:10:38 2015 +0100
Branches: master
https://developer.blender.org/rBfa9311c9a48601daaee183232d94d483dd93327f

Cleanup: Update comments and make it more clear what volume interpolation is for.

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

M	intern/cycles/blender/addon/properties.py
M	intern/cycles/render/graph.cpp

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

diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index 64541b8..a86f162 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -116,7 +116,7 @@ enum_volume_sampling = (
 
 enum_volume_interpolation = (
     ('LINEAR', "Linear", "Good smoothness and speed"),
-    ('CUBIC', 'Cubic', 'Smoothed high quality interpolation, but slower')
+    ('CUBIC', "Cubic", "Smoothed high quality interpolation, but slower")
     )
 
 
@@ -652,7 +652,7 @@ class CyclesMaterialSettings(bpy.types.PropertyGroup):
 
         cls.volume_interpolation = EnumProperty(
                 name="Volume Interpolation",
-                description="Interpolation method to use for volumes",
+                description="Interpolation method to use for smoke/fire volumes",
                 items=enum_volume_interpolation,
                 default='LINEAR',
                 )
diff --git a/intern/cycles/render/graph.cpp b/intern/cycles/render/graph.cpp
index 6d05e52..9896eab 100644
--- a/intern/cycles/render/graph.cpp
+++ b/intern/cycles/render/graph.cpp
@@ -509,7 +509,7 @@ void ShaderGraph::break_cycles(ShaderNode *node, vector<bool>& visited, vector<b
 
 void ShaderGraph::clean()
 {
-	/* remove proxy and unnecessary mix nodes */
+	/* remove proxy and unnecessary nodes */
 	remove_unneeded_nodes();
 
 	/* we do two things here: find cycles and break them, and remove unused




More information about the Bf-blender-cvs mailing list