mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
gobj: fix bug printing Material base color
This commit is contained in:
parent
a333353af6
commit
b183e99692
@ -422,7 +422,7 @@ void Material::
|
|||||||
write(std::ostream &out, int indent_level) const {
|
write(std::ostream &out, int indent_level) const {
|
||||||
indent(out, indent_level) << "Material " << get_name() << "\n";
|
indent(out, indent_level) << "Material " << get_name() << "\n";
|
||||||
if (has_base_color()) {
|
if (has_base_color()) {
|
||||||
indent(out, indent_level + 2) << "base_color = " << get_ambient() << "\n";
|
indent(out, indent_level + 2) << "base_color = " << get_base_color() << "\n";
|
||||||
}
|
}
|
||||||
if (has_ambient()) {
|
if (has_ambient()) {
|
||||||
indent(out, indent_level + 2) << "ambient = " << get_ambient() << "\n";
|
indent(out, indent_level + 2) << "ambient = " << get_ambient() << "\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user