**System Information**
Windows 8.1, Intel integrated graphics (Sandy bridge).
**Blender Version**
Broken: current master branch (cc2cdfb0)
**Short description of error**
In engine "Blender Render", creating Rigid Bodies is rejected if the (base) Mesh Data object contains no faces, even if faces are created by the modifier stack (for example using the Screw modifier). Only using the "BASE" as mesh-source should be disallowed in this case, since using "FINAL" will yield a proper mesh.
**Exact steps for others to reproduce the error**
Create a circle mesh without faces. Use the Screw modifier to create a torus, but don't apply it. Creating a Rigid Body from this object is not possible (message: "Can't create Rigid Body from mesh with no polygons").
**Proposed fix**
Remove the check from rigidbody_object.c, and possibly add it at a later stage in the pipeline (when it is clear what mesh the Rigid Body should really be based on).
diff --git a/source/blender/editors/physics/rigidbody_object.c b/source/blender/editors/physics/rigidbody_object.c
index e4426fd..8fb79f8 100644
--- a/source/blender/editors/physics/rigidbody_object.c
+++ b/source/blender/editors/physics/rigidbody_object.c
@@ -100,10 +100,6 @@ bool ED_rigidbody_object_add(Scene *scene, Object *ob, int type, ReportList *rep
BKE_report(reports, RPT_ERROR, "Can't add Rigid Body to non mesh object");
return false;
}
- if (((Mesh *)ob->data)->totpoly == 0) {
- BKE_report(reports, RPT_ERROR, "Can't create Rigid Body from mesh with no polygons");
- return false;
- }
/* Add rigid body world and group if they don't exist for convenience */
if (rbw == NULL) {