Reserved some Bullet 2.x constraint data.
[blender.git] / source / blender / blenloader / intern / writefile.c
index fa454289b5b08f97570c74d7d1eac9811a8b15bf..3ca85eed67d836c98ee344825d5659216bfd1c8d 100644 (file)
@@ -741,6 +741,9 @@ static void write_constraints(WriteData *wd, ListBase *conlist)
                case CONSTRAINT_TYPE_SIZELIMIT:
                        writestruct(wd, DATA, "bSizeLimitConstraint", 1, con->data);
                        break;
+               case CONSTRAINT_TYPE_RIGIDBODYJOINT:
+                       writestruct(wd, DATA, "bRigidBodyJointConstraint", 1, con->data);
+                       break;
                default:
                        break;
                }