]> git.mxchange.org Git - flightgear.git/commit
There was a typo in the $fgbase/materials file where an alias was
authorcurt <curt>
Tue, 12 Jun 2001 17:52:09 +0000 (17:52 +0000)
committercurt <curt>
Tue, 12 Jun 2001 17:52:09 +0000 (17:52 +0000)
commit15fadd168795f8653f20ce0e81e18eaba3fd3f56
treed14f9549baa19e0ebe5dfa047374662fab99af6e
parent9337a5446cf62ef07c8b71bd795cc40188bbe5fc
There was a typo in the $fgbase/materials file where an alias was
pointing to a non-existant material name.  (This has been fixed.)

The alias code didn't check to see if this condition would occur so it
was putting a 'NULL' entry in the material library which was causing
the crash.  It now checks for and skips bad aliases and prints a
warning message.
src/Objects/matlib.cxx
src/Objects/matlib.hxx