Cleanup: Update comments and make it more clear what volume interpolation is for.
This commit is contained in:
@@ -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',
|
||||||
)
|
)
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user