Browse Source

Add dummy return values to keep MSVC happy

rdb 10 years ago
parent
commit
2abe2df1b4
2 changed files with 3 additions and 1 deletions
  1. 1 0
      panda/src/physx/physxActorDesc.cxx
  2. 2 1
      panda/src/physx/physxSceneDesc.cxx

+ 1 - 0
panda/src/physx/physxActorDesc.cxx

@@ -122,6 +122,7 @@ get_body() const {
   //PhysxBodyDesc value;
   //value._desc = *(_desc.body);
   //return value;
+  return PhysxBodyDesc();
 }
 
 ////////////////////////////////////////////////////////////////////

+ 2 - 1
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();
 }
 
 ////////////////////////////////////////////////////////////////////