src/extprogs.cpp

changeset 188
4e686b771996
parent 185
6fea53f1ffc2
child 190
82f784cf2ce5
--- a/src/extprogs.cpp	Thu May 09 04:01:37 2013 +0300
+++ b/src/extprogs.cpp	Thu May 09 17:03:44 2013 +0300
@@ -137,7 +137,7 @@
 void writeColorGroup (const short colnum, str fname) {
 	std::vector<LDObject*> objects;
 	for (LDObject*& obj : g_curfile->m_objs) {
-		if (obj->isColored () == false || obj->dColor != colnum)
+		if (obj->isColored () == false || obj->color != colnum)
 			continue;
 		
 		objects.push_back (obj);

mercurial