forked from bartvdbraak/blender
Fix T39245: Crash when dynamic topology is enabled
Redundant decrement was crashing for systems which didnt optimize it out.
This commit is contained in:
parent
5873160242
commit
9bbb30bf03
4
extern/rangetree/range_tree.hh
vendored
4
extern/rangetree/range_tree.hh
vendored
@ -79,10 +79,6 @@ struct RangeTree {
|
||||
TreeIter iter = tree.find(Range(t));
|
||||
assert(iter != tree.end());
|
||||
Range cur = *iter;
|
||||
TreeIter prev = iter;
|
||||
TreeIter next = iter;
|
||||
--prev;
|
||||
++next;
|
||||
|
||||
/* Remove the original range (note that this does not
|
||||
invalidate the prev/next iterators) */
|
||||
|
Loading…
Reference in New Issue
Block a user