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/freestyle/intern/geometry/HashGrid.h')
-rw-r--r--source/blender/freestyle/intern/geometry/HashGrid.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/geometry/HashGrid.h b/source/blender/freestyle/intern/geometry/HashGrid.h
index b1fc4824b6f..73751d820ab 100644
--- a/source/blender/freestyle/intern/geometry/HashGrid.h
+++ b/source/blender/freestyle/intern/geometry/HashGrid.h
@@ -87,8 +87,9 @@ class HashGrid : public Grid {
Cell *found_cell = NULL;
GridHashTable::const_iterator found = _cells.find(p);
- if (found != _cells.end())
+ if (found != _cells.end()) {
found_cell = (*found).second;
+ }
return found_cell;
}