a bug

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

a bug

Post by comeform2012 »

void Entity::shareSkeletonInstanceWith(Entity* entity)
...
...
if (mSharedSkeletonEntities != NULL)
{
entity->shareSkeletonInstanceWith(this);
}
.....
....
if entity->mSharedSkeletonEntities != NULL and this->mSharedSkeletonEntities !=NULL will be while(1); :shock:

void Entity::shareSkeletonInstanceWith(Entity* entity)
{
+if(mSharedSkeletonEntities != entity->mSharedSkeletonEntities)
+{
..
..
..
+}
}
User avatar
Beauty
OGRE Community Helper
OGRE Community Helper
Posts: 767
Joined: Wed Oct 10, 2007 2:36 pm
Location: Germany
x 39
Contact:

Re: a bug

Post by Beauty »

Hi comeform2012,

please modify your forum post and do this:
  • Use a meaningful subject.
  • Use the "Code" button for your code
  • Add a description of your problem. Otherwise we don't know what you want.
The "edit" button is in the uper corner of your post.
Help to add information to the wiki. Also tiny edits will let it grow ... :idea:
Add your country to your profile ... it's interesting to know from where of the world you are.
Post Reply