Bugfix: fixed an issue that caused NPE to be raised when UnsupportedConstraint was allocated.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10861 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
d723af5009
commit
c278b39c82
@ -48,7 +48,7 @@ public abstract class ConstraintDefinition {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.blenderContext = blenderContext;
|
this.blenderContext = blenderContext;
|
||||||
constraintHelper = blenderContext.getHelper(ConstraintHelper.class);
|
constraintHelper = (ConstraintHelper) (blenderContext == null ? null : blenderContext.getHelper(ConstraintHelper.class));
|
||||||
this.ownerOMA = ownerOMA;
|
this.ownerOMA = ownerOMA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user