mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-29 03:26:38 +00:00 
			
		
		
		
	Merge pull request #2502 from akortunov/master
Optimize custom bones search visitor
This commit is contained in:
		
						commit
						b58c632c20
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -247,7 +247,10 @@ namespace | |||
|         void apply(osg::Node& node) | ||||
|         { | ||||
|             if (SceneUtil::hasUserDescription(&node, "CustomBone")) | ||||
|             { | ||||
|                 mFoundBones.emplace_back(&node, node.getParent(0)); | ||||
|                 return; | ||||
|             } | ||||
| 
 | ||||
|             traverse(node); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue