+ bugfix in btAlignedObjectArray, not calling destructors on resize to smaller array.
Thanks Benoit for pointing this out, and bugfix: http://code.google.com/p/bullet/issues/detail?id=218 + Added point to point, hinge, slider and generic 6dof constraints to Maya Dynamica plugin Thanks to Herbert Law for the constribution: http://code.google.com/p/bullet/issues/detail?id=221
This commit is contained in:
@@ -110,6 +110,7 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="install.bat"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
@@ -693,11 +694,355 @@
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\bt_solver.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\colladaExport.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\collisionShapeNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\drawUtils.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dRigidBodyArrayCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dRigidBodyCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dSolverCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dSolverNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pdbIO.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pluginMain.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigidBodyArrayNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigidBodyNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\solver.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\box_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\box_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_box_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_collision_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_convex_hull_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_mesh_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_plane_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_rigid_body.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_solver.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_sphere_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\colladaExport.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\collision_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\collision_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\collisionShapeNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\convex_hull_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\convex_hull_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\drawUtils.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dRigidBodyArrayCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dRigidBodyCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dSolverCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dSolverNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mathUtils.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mayaUtils.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mesh_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mesh_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pdbIO.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\plane_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\plane_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigid_body.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigid_body_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigidBodyArrayNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigidBodyNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\shared_ptr.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\solver.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\solver_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\sphere_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\sphere_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Constraint"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\constraint\bt_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\bt_hinge_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\bt_nail_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\bt_sixdof_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\bt_slider_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\constraint_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\dHingeConstraintCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\dHingeConstraintCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\dNailConstraintCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\dNailConstraintCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\dsixdofConstraintCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\dsixdofConstraintCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\dSliderConstraintCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\dSliderConstraintCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\hinge_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\hinge_constraint_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\hingeConstraintNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\hingeConstraintNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\nail_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\nail_constraint_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\nailConstraintNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\nailConstraintNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\sixdof_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\sixdof_constraint_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\sixdofConstraintNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\sixdofConstraintNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\slider_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\slider_constraint_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\sliderConstraintNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint\sliderConstraintNode.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="slider"
|
||||
>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="sixdof"
|
||||
>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\scripts\AEdCollisionShapeTemplate.mel"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\scripts\AEdHingeConstraintTemplate.mel"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\scripts\AEdNailConstraintTemplate.mel"
|
||||
>
|
||||
@@ -710,150 +1055,18 @@
|
||||
RelativePath=".\scripts\AEdRigidBodyTemplate.mel"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\scripts\AEdSixdofConstraintTemplate.mel"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\scripts\AEdSliderConstraintTemplate.mel"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\scripts\AEdSolverTemplate.mel"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\box_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\box_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_box_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_collision_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_convex_hull_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_mesh_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_nail_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_plane_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_rigid_body.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_solver.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_solver.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bt_sphere_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\colladaExport.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\colladaExport.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\collision_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\collision_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\collisionShapeNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\collisionShapeNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\constraint_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\convex_hull_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\convex_hull_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dNailConstraintCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dNailConstraintCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\drawUtils.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\drawUtils.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dRigidBodyArrayCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dRigidBodyArrayCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dRigidBodyCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dRigidBodyCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dSolverCmd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dSolverCmd.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dSolverNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dSolverNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\scripts\dynamica.mel"
|
||||
>
|
||||
@@ -862,106 +1075,6 @@
|
||||
RelativePath=".\scripts\dynamicaUI.mel"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mathUtils.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mayaUtils.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mesh_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\mesh_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\nail_constraint.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\nail_constraint_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\nailConstraintNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\nailConstraintNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pdbIO.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pdbIO.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\plane_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\plane_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\pluginMain.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigid_body.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigid_body_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigidBodyArrayNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigidBodyArrayNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigidBodyNode.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rigidBodyNode.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\shared_ptr.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\solver.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\solver.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\solver_impl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\sphere_shape.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\sphere_shape_impl.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
|
||||
Reference in New Issue
Block a user