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/stroke/Chain.h')
-rw-r--r--source/blender/freestyle/intern/stroke/Chain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/stroke/Chain.h b/source/blender/freestyle/intern/stroke/Chain.h
index 547fed70953..2c19748771e 100644
--- a/source/blender/freestyle/intern/stroke/Chain.h
+++ b/source/blender/freestyle/intern/stroke/Chain.h
@@ -65,8 +65,9 @@ class Chain : public Curve {
{
// only the last splitted deletes this id
if (_splittingId) {
- if (*_splittingId == _Id)
+ if (*_splittingId == _Id) {
delete _splittingId;
+ }
}
}