diff --git a/panda/src/physx/physxActorDesc.cxx b/panda/src/physx/physxActorDesc.cxx index daf6f49ee0..ccbac17209 100644 --- a/panda/src/physx/physxActorDesc.cxx +++ b/panda/src/physx/physxActorDesc.cxx @@ -122,6 +122,7 @@ get_body() const { //PhysxBodyDesc value; //value._desc = *(_desc.body); //return value; + return PhysxBodyDesc(); } //////////////////////////////////////////////////////////////////// diff --git a/panda/src/physx/physxSceneDesc.cxx b/panda/src/physx/physxSceneDesc.cxx index 163774ce31..d5cb81626a 100644 --- a/panda/src/physx/physxSceneDesc.cxx +++ b/panda/src/physx/physxSceneDesc.cxx @@ -93,7 +93,7 @@ set_max_bounds(PhysxBounds3 &bounds) { //////////////////////////////////////////////////////////////////// // Function: PhysxSceneDesc::get_max_bounds // Access: Published -// Description: +// Description: //////////////////////////////////////////////////////////////////// PhysxBounds3 PhysxSceneDesc:: get_max_bounds() const { @@ -102,6 +102,7 @@ get_max_bounds() const { //PhysxBounds3 value; //value._bounds = *(_desc.maxBounds); //return value; + return PhysxBounds3(); } ////////////////////////////////////////////////////////////////////