Fix msvc compile error with subdivide use_smooth_even option.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 10 Jun 2013 20:54:08 +0000 (20:54 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 10 Jun 2013 20:54:08 +0000 (20:54 +0000)
source/blender/bmesh/operators/bmo_subdivide.c

index 7fbc6f4835097161194effcf8a4e0248561c50e4..96771e002912d7de10145b7b9977aa968339b3d6 100644 (file)
@@ -856,7 +856,7 @@ void bmo_subdivide_edges_exec(BMesh *bm, BMOperator *op)
        params.fractal = fractal;
        params.along_normal = along_normal;
        params.use_smooth  = (smooth  != 0.0f);
-       params.use_smooth_even = BMO_slot_get(op->slots_in, "use_smooth_even");
+       params.use_smooth_even = BMO_slot_bool_get(op->slots_in, "use_smooth_even");
        params.use_fractal = (fractal != 0.0f);
        params.use_sphere  = use_sphere;