Cleanup: typo, and 0 -> false for booleans.
[blender.git] / source / blender / editors / sculpt_paint / paint_vertex.c
index a496c4cb01d034b80062fb47f3ce7080be382494..7bbb4467f6fd451ba2ac24dfdc8487f3ed208200 100644 (file)
@@ -944,7 +944,7 @@ static void vertex_paint_init_session(Scene *scene, Object *ob)
 
        if (ob->sculpt == NULL) {
                ob->sculpt = MEM_callocN(sizeof(SculptSession), "sculpt session");
-               BKE_sculpt_update_mesh_elements(scene, scene->toolsettings->sculpt, ob, 0, false);
+               BKE_sculpt_update_mesh_elements(scene, scene->toolsettings->sculpt, ob, false, false);
        }
 }