bug report

Minor issues with the Ogre API that can be trivial to fix
comeform2012
Gnoblar
Posts: 3
Joined: Sat Jan 08, 2011 10:30 am

bug report

Post by comeform2012 »

void Skeleton::addLinkedSkeletonAnimationSource(const String& skelName,
Real scale)
{
// Check not already linked
LinkedSkeletonAnimSourceList::iterator i;
for (i = mLinkedSkeletonAnimSourceList.begin();
i != mLinkedSkeletonAnimSourceList.end(); ++i)
{
- if (skelName == i->skeletonName)
return; // don't bother
}
....


void Skeleton::addLinkedSkeletonAnimationSource(const String& skelName,
Real scale)
{
// Check not already linked
LinkedSkeletonAnimSourceList::iterator i;
for (i = mLinkedSkeletonAnimSourceList.begin();
i != mLinkedSkeletonAnimSourceList.end(); ++i)
{
+ if (skelName == i->skeletonName || skelName == this.getName())
return; // don't bother
}
....
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 136

Re: bug report

Post by spacegaier »

Could you please file a bug ticket on our bug tracker since otherwise your precious help will get lost here. That would be great, thanks!
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...