You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I have two effects in the library_effects. The first has a <transparent> with a texture and a <transparency> of 0.4, and the second has neither <transparent> nor <transparency>.
ie. it's reporting stale value from the first effect! If the first effect is modified so its <transparent> is a color instead, the second effect will show the correct values.
This is caused by an early return in calculateOpacity
Suppose I have two effects in the library_effects. The first has a <transparent> with a texture and a <transparency> of 0.4, and the second has neither <transparent> nor <transparency>.
Example library_effects
Then when I look at the second effect:
ie. it's reporting stale value from the first effect! If the first effect is modified so its <transparent> is a color instead, the second effect will show the correct values.
This is caused by an early return in
calculateOpacity
OpenCOLLADA/COLLADASaxFrameworkLoader/src/COLLADASaxFWLLibraryEffectsLoader.cpp
Lines 299 to 301 in 6031fa9
The early return skips the rest of the function, including the code that resets values for the next effect
OpenCOLLADA/COLLADASaxFrameworkLoader/src/COLLADASaxFWLLibraryEffectsLoader.cpp
Lines 382 to 385 in 6031fa9
so the next effect gets the stale values.
The text was updated successfully, but these errors were encountered: