Offset bug

petrinm

05-04-2009 11:08:07

I found this bug from the code so someone could fix this to SVN!

OgreOdeGeometry.cpp @ line 107
From:

if(isOffset())
_debug_node->setPosition(getOffsetPosition());


To:

if(isOffset()) {
_debug_node->setPosition(getOffsetPosition());
_debug_node->setOrientation(getOffsetQuaternion());
}

Without this fix the offset orientation won't work at all in debug models.

Srr my English! :roll: