mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Fix bug reading roughness from .bam material
This commit is contained in:
parent
becd0aa416
commit
ebbdb6fac5
@ -604,7 +604,7 @@ fillin(DatagramIterator &scan, BamReader *manager) {
|
||||
_emission.read_datagram(scan);
|
||||
|
||||
if (_flags & F_roughness) {
|
||||
set_roughness(_shininess);
|
||||
set_roughness(scan.get_stdfloat());
|
||||
} else {
|
||||
_shininess = scan.get_stdfloat();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user