mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -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
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////////
|
||||
btTransform TransformState_to_btTrans(CPT(TransformState) &ts) {
|
||||
btTransform TransformState_to_btTrans(CPT(TransformState) ts) {
|
||||
|
||||
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));
|
||||
|
||||
EXPCL_PANDABULLET btTransform TransformState_to_btTrans(
|
||||
CPT(TransformState) &ts);
|
||||
CPT(TransformState) ts);
|
||||
|
||||
// UpAxis
|
||||
BEGIN_PUBLISH
|
||||
|
Loading…
x
Reference in New Issue
Block a user