Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-10-11 08:09:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-11 08:09:11 +0400
commitfa5275cdfa136dd81a15cd2d37f8dadf77f7bcee (patch)
tree6cd4a69631fdcc6df942c1825f2cb191f883c2f6 /source/blender/editors/mesh
parente8bcccae33cc9df93b7ab25a51326962fc9e8bf4 (diff)
- bpy.path.abspath(), added optional library argument since any paths from linked datablocks are relative to this, not the blend files path, this saves kludgy path code wherever libraries may be used.
- Image "Edit Externally" operator can now edit relative library images. also minor edits to navmesh.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/mesh_navmesh.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/mesh_navmesh.c b/source/blender/editors/mesh/mesh_navmesh.c
index bd5f4b5fe68..b8ace26991e 100644
--- a/source/blender/editors/mesh/mesh_navmesh.c
+++ b/source/blender/editors/mesh/mesh_navmesh.c
@@ -459,12 +459,14 @@ static int create_navmesh_exec(bContext *C, wmOperator *op)
MEM_freeN(verts);
MEM_freeN(tris);
+
+ return OPERATOR_FINISHED;
}
else {
BKE_report(op->reports, RPT_ERROR, "No mesh objects found");
- }
- return OPERATOR_FINISHED;
+ return OPERATOR_CANCELLED;
+ }
}
void MESH_OT_navmesh_make(wmOperatorType *ot)