mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Move skinning code to SceneUtil
This commit is contained in:
parent
9246a668b9
commit
eaa4316ff8
7 changed files with 15 additions and 15 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <components/misc/stringops.hpp>
|
||||
|
||||
#include <components/nifosg/skeleton.hpp>
|
||||
#include <components/sceneutil/skeleton.hpp>
|
||||
|
||||
#include "visitor.hpp"
|
||||
|
||||
|
@ -47,7 +47,7 @@ namespace SceneUtil
|
|||
|
||||
osg::ref_ptr<osg::Node> attach(osg::ref_ptr<osg::Node> toAttach, osg::Node *master, const std::string &filter, const std::string &attachNode)
|
||||
{
|
||||
if (dynamic_cast<NifOsg::Skeleton*>(toAttach.get()))
|
||||
if (dynamic_cast<SceneUtil::Skeleton*>(toAttach.get()))
|
||||
{
|
||||
osg::ref_ptr<osg::Group> handle = new osg::Group;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue