projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix BGE bug #7532: TrackTo Actuator does not work correctly if it has a Vertex Parent...
[blender.git]
/
source
/
gameengine
/
SceneGraph
/
SG_ParentRelation.h
diff --git
a/source/gameengine/SceneGraph/SG_ParentRelation.h
b/source/gameengine/SceneGraph/SG_ParentRelation.h
index 1d211a9f39f13b73a88e5ebec257a26320be89d1..9d360d1c2747221ba0a22576b5898d289cc0feb0 100644
(file)
--- a/
source/gameengine/SceneGraph/SG_ParentRelation.h
+++ b/
source/gameengine/SceneGraph/SG_ParentRelation.h
@@
-90,6
+90,15
@@
public :
NewCopy(
) = 0;
+ /**
+ * Vertex Parent Relation are special: they don't propagate rotation
+ */
+ virtual
+ bool
+ IsVertexRelation(
+ ) {
+ return false;
+ }
protected :
/**