f33ad357e928b5210c87cb8977d3cc88deba811b
The effect system used Listeners on property nodes to get the values for shader uniforms. These listeners get deleted by an osg thread causing access to freed memory when this happens while the main thread calls fireValueChanged. This patch changes the update method to polling for scalar properties. This isn't 100% threadsafe, too. But at least it does not crash anymore.
SimGear - Simulator Construction Tools ====================================== http://www.flightgear.org SimGear is a set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications. SimGear is developed by the FlightGear project and also provides the base for the FlightGear Flight Simulator. Source code for SimGear is released under the GNU Library General Public License (LGPL) - see COPYING for license details. See INSTALL file for help on building SimGear.
Description
Languages
C++
85.5%
C
13.1%
CMake
1.4%