[commit] r2751 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Mon Jul 9 13:55:25 CDT 2018
Author: ksmyth
Date: Mon Jul 9 13:55:25 2018
New Revision: 2751
Log:
Ctrl-click Sync Aspects runs without dialog
Modified:
trunk/GME/Gme/GMEView.cpp
Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp Mon Jul 9 13:55:22 2018 (r2750)
+++ trunk/GME/Gme/GMEView.cpp Mon Jul 9 13:55:25 2018 (r2751)
@@ -9360,7 +9360,7 @@
CGuiMetaAspect *metaAspect = guiMeta->aspects.GetNext(apos);
dlg.m_allAspects.AddTail(metaAspect);
- if (currentAspect == metaAspect) {
+ if (currentAspect != metaAspect) {
dlg.m_dstAspects.AddTail(metaAspect);
}
}
@@ -9388,7 +9388,7 @@
}
- if (dlg.DoModal() == IDOK) {
+ if ((GetKeyState(VK_CONTROL) & 0x8000) || dlg.DoModal() == IDOK) {
CGuiMetaAspectList dstAspects;
CGuiMetaAspect* srcAspect;
CGuiObjectList movingObjects;
More information about the gme-commit
mailing list