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

This commit is contained in:
Thomas Dinges
2015-02-16 22:10:38 +01:00
parent 652b2b656a
commit fa9311c9a4
2 changed files with 3 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ enum_volume_sampling = (
enum_volume_interpolation = ( enum_volume_interpolation = (
('LINEAR', "Linear", "Good smoothness and speed"), ('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( cls.volume_interpolation = EnumProperty(
name="Volume Interpolation", name="Volume Interpolation",
description="Interpolation method to use for volumes", description="Interpolation method to use for smoke/fire volumes",
items=enum_volume_interpolation, items=enum_volume_interpolation,
default='LINEAR', default='LINEAR',
) )

View File

@@ -509,7 +509,7 @@ void ShaderGraph::break_cycles(ShaderNode *node, vector<bool>& visited, vector<b
void ShaderGraph::clean() void ShaderGraph::clean()
{ {
/* remove proxy and unnecessary mix nodes */ /* remove proxy and unnecessary nodes */
remove_unneeded_nodes(); remove_unneeded_nodes();
/* we do two things here: find cycles and break them, and remove unused /* we do two things here: find cycles and break them, and remove unused