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:
Diffstat (limited to 'source/blender/editors/curve/GridMesh_GLUT_debug_tool.cpp')
-rw-r--r--source/blender/editors/curve/GridMesh_GLUT_debug_tool.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/curve/GridMesh_GLUT_debug_tool.cpp b/source/blender/editors/curve/GridMesh_GLUT_debug_tool.cpp
index f5f00bb37e1..c528d0bfdcc 100644
--- a/source/blender/editors/curve/GridMesh_GLUT_debug_tool.cpp
+++ b/source/blender/editors/curve/GridMesh_GLUT_debug_tool.cpp
@@ -349,12 +349,17 @@ void GLUT_keyboard(unsigned char ch, int x, int y ) {
clip = 0;
glutPostRedisplay();
}
+ if (subj && ch=='k') {
+ gm->bool_SUB(subj);
+ subj = gm->v[subj].next_poly; // Subject was destroyed in trimming process
+ glutPostRedisplay();
+ }
if (subj && ch=='i') {
gm->insert_vert_poly_gridmesh(subj);
glutPostRedisplay();
}
if (subj && ch=='l') {
- gm->label_interior_AND(subj);
+ gm->label_interior_SUB(subj);
gm->label_interior_freepoly(subj);
glutPostRedisplay();
}