Revision: 76964
http://sourceforge.net/p/brlcad/code/76964
Author: starseeker
Date: 2020-08-26 14:37:05 +0000 (Wed, 26 Aug 2020)
Log Message:
-----------
Need to set the dm dirty flag here. Unfortunately, it looks like we were
getting away with the X dm embedding in Tk by not having the embedded
framebuffer come up - with this enabled we're back to crashing when we try to
do an embedded X24 framebuffer in the main MGED Tk window.
Modified Paths:
--------------
brlcad/trunk/src/mged/set.c
Modified: brlcad/trunk/src/mged/set.c
===================================================================
--- brlcad/trunk/src/mged/set.c 2020-08-26 14:09:33 UTC (rev 76963)
+++ brlcad/trunk/src/mged/set.c 2020-08-26 14:37:05 UTC (rev 76964)
@@ -140,8 +140,10 @@
{
for (size_t di = 0; di < BU_PTBL_LEN(&active_dm_set); di++) {
struct mged_dm *m_dmp = (struct mged_dm *)BU_PTBL_GET(&active_dm_set,
di);
- if (m_dmp->dm_mged_variables == mged_variables)
+ if (m_dmp->dm_mged_variables == mged_variables) {
m_dmp->dm_dirty = 1;
+ dm_set_dirty(DMP, 1);
+ }
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits