Revision: 76166
http://sourceforge.net/p/brlcad/code/76166
Author: starseeker
Date: 2020-06-19 19:16:24 +0000 (Fri, 19 Jun 2020)
Log Message:
-----------
make sure we have a GEDP before NULLing out
Modified Paths:
--------------
brlcad/trunk/src/mged/attach.c
Modified: brlcad/trunk/src/mged/attach.c
===================================================================
--- brlcad/trunk/src/mged/attach.c 2020-06-19 19:04:36 UTC (rev 76165)
+++ brlcad/trunk/src/mged/attach.c 2020-06-19 19:16:24 UTC (rev 76166)
@@ -133,7 +133,9 @@
GEDP->ged_gvp = nl->dml_view_state->vs_gvp;
GEDP->ged_gvp->gv_grid = *nl->dml_grid_state; /* struct copy */
} else {
- GEDP->ged_gvp = NULL;
+ if (GEDP) {
+ GEDP->ged_gvp = NULL;
+ }
}
}
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