20,741
edits
m (→Data Variance) |
|||
Line 311: | Line 311: | ||
either improper use of data variance, or you have a thread safety issue in one | either improper use of data variance, or you have a thread safety issue in one | ||
of your callbacks. | of your callbacks. | ||
If you are seeing a crash when running single threaded then | |||
DataVariance won't be an issue, you'll need to look elsewhere. | DataVariance won't be an issue, you'll need to look elsewhere. | ||
Unfortunately there is too information about the exact problem you are | Unfortunately there is too information about the exact problem you are | ||
Line 334: | Line 333: | ||
on the scene graph it's only the DataVariance on these that is | on the scene graph it's only the DataVariance on these that is | ||
checked. This means the nodes and any sate attributes attached to | checked. This means the nodes and any sate attributes attached to | ||
StateSet are ignored.<ref>https://groups.google.com/g/osg-users/c/W4OFWPp9YJ8/m/poyUdg7_oBsJ</ref> | StateSet are ignored.<ref>https://groups.google.com/g/osg-users/c/W4OFWPp9YJ8/m/poyUdg7_oBsJ</ref> | ||
=== Data Variance === | |||
The OSG is built for multi-threading of osgViewer View's in various ways, it's not general multi-threading support, it's designed specifically for a scene graph so overheads for that multi-threading to a minimum. | The OSG is built for multi-threading of osgViewer View's in various ways, it's not general multi-threading support, it's designed specifically for a scene graph so overheads for that multi-threading to a minimum. | ||