Fixed bug with scale P2B synchronisation.

This commit is contained in:
enn0x 2011-09-03 00:37:37 +00:00
parent f63bf2526a
commit 05ff620572
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ CPT(TransformState) btTrans_to_TransformState(const btTransform &trans, const LV
// Function: TransformState_to_btTrans
// Description:
////////////////////////////////////////////////////////////////////
btTransform TransformState_to_btTrans(CPT(TransformState) &ts) {
btTransform TransformState_to_btTrans(CPT(TransformState) ts) {
ts = ts->set_scale(1.0);

View File

@ -46,7 +46,7 @@ EXPCL_PANDABULLET CPT(TransformState) btTrans_to_TransformState(
const LVecBase3f &scale=LVecBase3f(1.0f, 1.0f, 1.0f));
EXPCL_PANDABULLET btTransform TransformState_to_btTrans(
CPT(TransformState) &ts);
CPT(TransformState) ts);
// UpAxis
BEGIN_PUBLISH