mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Fixed bug with scale P2B synchronisation.
This commit is contained in:
parent
f63bf2526a
commit
05ff620572
@ -137,7 +137,7 @@ CPT(TransformState) btTrans_to_TransformState(const btTransform &trans, const LV
|
|||||||
// Function: TransformState_to_btTrans
|
// Function: TransformState_to_btTrans
|
||||||
// Description:
|
// Description:
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
btTransform TransformState_to_btTrans(CPT(TransformState) &ts) {
|
btTransform TransformState_to_btTrans(CPT(TransformState) ts) {
|
||||||
|
|
||||||
ts = ts->set_scale(1.0);
|
ts = ts->set_scale(1.0);
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ EXPCL_PANDABULLET CPT(TransformState) btTrans_to_TransformState(
|
|||||||
const LVecBase3f &scale=LVecBase3f(1.0f, 1.0f, 1.0f));
|
const LVecBase3f &scale=LVecBase3f(1.0f, 1.0f, 1.0f));
|
||||||
|
|
||||||
EXPCL_PANDABULLET btTransform TransformState_to_btTrans(
|
EXPCL_PANDABULLET btTransform TransformState_to_btTrans(
|
||||||
CPT(TransformState) &ts);
|
CPT(TransformState) ts);
|
||||||
|
|
||||||
// UpAxis
|
// UpAxis
|
||||||
BEGIN_PUBLISH
|
BEGIN_PUBLISH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user