|
@@ -2507,7 +2507,7 @@ issue_color_transform(const ColorMatrixTransition *attrib) {
|
|
|
_color_transform_enabled = true;
|
|
_color_transform_enabled = true;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- _issued_color_stale = _has_scene_graph_color;
|
|
|
|
|
|
|
+ _scene_graph_color_stale = _has_scene_graph_color;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
@@ -2526,7 +2526,7 @@ issue_alpha_transform(const AlphaTransformTransition *attrib) {
|
|
|
_alpha_transform_enabled = true;
|
|
_alpha_transform_enabled = true;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- _issued_color_stale = _has_scene_graph_color;
|
|
|
|
|
|
|
+ _scene_graph_color_stale = _has_scene_graph_color;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
@@ -2560,21 +2560,21 @@ issue_color(const ColorTransition *attrib) {
|
|
|
_scene_graph_color = attrib->get_color();
|
|
_scene_graph_color = attrib->get_color();
|
|
|
_has_scene_graph_color = true;
|
|
_has_scene_graph_color = true;
|
|
|
_vertex_colors_enabled = false;
|
|
_vertex_colors_enabled = false;
|
|
|
- _issued_color_stale = true;
|
|
|
|
|
|
|
+ _scene_graph_color_stale = true;
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
// The color attribute is "on" but not "real": it specifies that
|
|
// The color attribute is "on" but not "real": it specifies that
|
|
|
// no scene graph color is in effect, but vertex color is not
|
|
// no scene graph color is in effect, but vertex color is not
|
|
|
// important either.
|
|
// important either.
|
|
|
_has_scene_graph_color = false;
|
|
_has_scene_graph_color = false;
|
|
|
- _issued_color_stale = false;
|
|
|
|
|
|
|
+ _scene_graph_color_stale = false;
|
|
|
_vertex_colors_enabled = false;
|
|
_vertex_colors_enabled = false;
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
// The color attribute is "off": it specifies that vertex color
|
|
// The color attribute is "off": it specifies that vertex color
|
|
|
// should be revealed.
|
|
// should be revealed.
|
|
|
_has_scene_graph_color = false;
|
|
_has_scene_graph_color = false;
|
|
|
- _issued_color_stale = false;
|
|
|
|
|
|
|
+ _scene_graph_color_stale = false;
|
|
|
_vertex_colors_enabled = true;
|
|
_vertex_colors_enabled = true;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|