Revision: 48438
http://brlcad.svn.sourceforge.net/brlcad/?rev=48438&view=rev
Author: starseeker
Date: 2012-01-11 20:54:22 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
Don't do the tsp assignment unless we actually have tsp - CID 293
Modified Paths:
--------------
brlcad/trunk/src/libged/dg_obj.c
Modified: brlcad/trunk/src/libged/dg_obj.c
===================================================================
--- brlcad/trunk/src/libged/dg_obj.c 2012-01-11 20:54:07 UTC (rev 48437)
+++ brlcad/trunk/src/libged/dg_obj.c 2012-01-11 20:54:22 UTC (rev 48438)
@@ -3482,7 +3482,8 @@
sp->s_soldash = dashflag;
sp->s_Eflag = 0; /* This is a solid */
db_dup_full_path(&sp->s_fullpath, pathp);
- sp->s_regionid = tsp->ts_regionid;
+ if (tsp)
+ sp->s_regionid = tsp->ts_regionid;
sp->s_transparency = dgcdp->transparency;
sp->s_dmode = dgcdp->dmode;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits