Changeset 13109

Show
Ignore:
Timestamp:
08/27/14 17:08:48 (4 hours ago)
Author:
robert
Message:

Changed the osgUI behaviour so that events are set to be handled by Widgets that have focus even if they don't directly use them.

Location:
OpenSceneGraph/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgShadow/ViewDependentShadowMap

    r13041 r13109  
    188188 
    189189        typedef std::vector< osg::ref_ptr<osg::Uniform> > Uniforms; 
     190        mutable OpenThreads::Mutex              _accessUnfiromsAndProgramMutex; 
    190191        Uniforms                                _uniforms; 
    191192        osg::ref_ptr<osg::Program>              _program; 
  • OpenSceneGraph/trunk/src/osgShadow/ViewDependentShadowMap.cpp

    r13108 r13109  
    11621162    unsigned int _baseTextureUnit = 0; 
    11631163 
     1164    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_accessUnfiromsAndProgramMutex); 
     1165 
    11641166    _shadowCastingStateSet = new osg::StateSet; 
    11651167 
     
    23432345    osg::ref_ptr<osg::StateSet> stateset = vdd.getStateSet(); 
    23442346 
     2347    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_accessUnfiromsAndProgramMutex); 
     2348     
    23452349    vdd.getStateSet()->clear(); 
    23462350