setting "state-cache 0" causes models to load as many geoms with a small amount of geometry each
Bug #1133771 reported by
Josh Enes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
rdb |
Bug Description
The state-cache setting causes EGG files to not load properly.
Specifically the problem occurs during the conversion to BAM.
You can see with pstats that when "state-cache 0" is set, the EGG file provided in the repro incorrectly loads as 279 geoms.
With the default setting "state-cache 1", it loads as only 1 geom.
related thread: http://
Changed in panda3d: | |
milestone: | 1.8.2 → 1.9.0 |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I know this is probably too late to be useful for you, but I just checked in a fix. As it turns out, RenderState: :compare_ to compared the render attributes by pointer, which only works if the state cache is enabled. I just changed it to actually invoke compare_to on the RenderAttrib. Picked up for the 1.8 branch.