fixed object deleting not triggering the proper renderer updates

Wed, 07 Mar 2018 19:30:29 +0200

author
Santeri Piippo
date
Wed, 07 Mar 2018 19:30:29 +0200
changeset 1276
cae7b4f660c5
parent 1275
7b0979f65ff6
child 1277
821c30615069

fixed object deleting not triggering the proper renderer updates

src/glcompiler.cpp file | annotate | diff | comparison | revisions
--- a/src/glcompiler.cpp	Wed Mar 07 19:30:03 2018 +0200
+++ b/src/glcompiler.cpp	Wed Mar 07 19:30:29 2018 +0200
@@ -511,6 +511,8 @@
 {
 	for (int row = first; row <= last; row += 1)
 		forgetObject(m_renderer->model()->index(row));
+
+	needMerge();
 }
 
 void GLCompiler::handleDataChange(const QModelIndex& topLeft, const QModelIndex& bottomRight)

mercurial