Fix (unreported) Broken rigidbody requirements when adding objects to a RB collection.
[blender.git] / source / blender / blenloader / intern / versioning_280.c
index 237e1387a4ee9a9c68f6b932c69a979b0efd60b4..e2ac0f16e34f56b973f3f85f3b4f5acf65ecc26e 100644 (file)
@@ -918,7 +918,7 @@ void do_versions_after_linking_280(Main *bmain)
                BKE_paint_toolslots_init_from_main(bmain);
        }
 
-       if (!MAIN_VERSION_ATLEAST(bmain, 280, 36)) {
+       if (!MAIN_VERSION_ATLEAST(bmain, 280, 38)) {
                /* Ensure we get valid rigidbody object/constraint data in relevant collections' objects. */
                for (Scene *scene = bmain->scene.first; scene; scene = scene->id.next) {
                        RigidBodyWorld *rbw = scene->rigidbody_world;