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.cpp')
-rw-r--r--source/blender/editors/curve/GridMesh.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/curve/GridMesh.cpp b/source/blender/editors/curve/GridMesh.cpp
index 3a81cfa4489..99f855af068 100644
--- a/source/blender/editors/curve/GridMesh.cpp
+++ b/source/blender/editors/curve/GridMesh.cpp
@@ -797,6 +797,7 @@ void GridMesh::label_interior_freepoly(int poly) {
int over_poly = poly_for_cell(x,y);
std::set<int> inside; // The set of polygons we are currently inside
for (int p=over_poly; p; p=v[p].next_poly) {
+ if (!point_in_polygon(x, y, p)) continue;
if (inside.count(p)) {
inside.erase(p);
} else {