Merged changes in the trunk up to revision 46557.
[blender-staging.git] / source / blender / editors / mesh / mesh_navmesh.c
index cc640e38fc25496a8b3999d2775915fefdd5d8ca..14d20d684552d22551e716efe3bde5d55acf8a5e 100644 (file)
@@ -316,8 +316,8 @@ static Object *createRepresentation(bContext *C, struct recast_polyMesh *pmesh,
        }
        else {
                obedit = base->object;
-               scene_deselect_all(scene);
-               scene_select_base(scene, base);
+               BKE_scene_base_deselect_all(scene);
+               BKE_scene_base_select(scene, base);
                copy_v3_v3(obedit->loc, co);
                copy_v3_v3(obedit->rot, rot);
        }