Norman Vine writes:

 > i.e.  the code as written assumes FGEnvironmentMgr
 > which is not included when the --with-weathercm option
 > is configured
 > 
 > // fgMainInit()
 >     // TODO: move to environment mgr
 >     thesky = new SGSky;
 >     SGPath texture_path(globals->get_fg_root());
 >     texture_path.append("Textures");
 >     texture_path.append("Sky");
 >     for (int i = 0; i < FGEnvironmentMgr::MAX_CLOUD_LAYERS; i++) {
 >         SGCloudLayer * layer = new SGCloudLayer(texture_path.str());
 >         thesky->add_cloud_layer(layer);
 >     }

Thanks for catching that, Norm.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to