from Maciej Krol:\nFixes for OSG_USE_PTR_IMPLICIT_OUTPUT_CONVERSION = OFF
This commit is contained in:
@@ -75,7 +75,7 @@ void MorphGeometry::transformSoftwareMethod()
|
||||
// See if we have an internal optimized geometry
|
||||
osg::Geometry* morphGeometry = this;
|
||||
if (_internalOptimizedGeometry.valid())
|
||||
morphGeometry = _internalOptimizedGeometry;
|
||||
morphGeometry = _internalOptimizedGeometry.get();
|
||||
|
||||
osg::Vec3Array* pos = dynamic_cast<osg::Vec3Array*>(morphGeometry->getVertexArray());
|
||||
if (pos && _positionSource.size() != pos->size())
|
||||
|
||||
@@ -593,7 +593,7 @@ bool Animation_writeLocalData(const Object& obj, Output& fw)
|
||||
fw.indent() << "num_channels " << anim.getChannels().size() << std::endl;
|
||||
for (unsigned int i = 0; i < anim.getChannels().size(); i++)
|
||||
{
|
||||
osgAnimation::Channel* pChannel = anim.getChannels()[i];
|
||||
osgAnimation::Channel* pChannel = anim.getChannels()[i].get();
|
||||
|
||||
osgAnimation::DoubleLinearChannel* pDlc = dynamic_cast<osgAnimation::DoubleLinearChannel*>(pChannel);
|
||||
if (pDlc)
|
||||
|
||||
Reference in New Issue
Block a user