Revert the last change, MSVC still doesn't like it.

This commit is contained in:
ehofman
2004-03-02 14:58:58 +00:00
parent 58a0b1d2c3
commit b7dd267807

View File

@@ -105,8 +105,7 @@ SGMaterial::read_properties( const string &fg_root, const SGPropertyNode * props
tpath.append("Textures");
tpath.append(tname);
}
_internal_state st = { NULL, "", false };
st.texture_path = tpath.str();
_internal_state st = { NULL, tpath.str(), false };
_status.push_back( st );
}
@@ -115,8 +114,7 @@ SGMaterial::read_properties( const string &fg_root, const SGPropertyNode * props
SGPath tpath( fg_root );
tpath.append("Textures");
tpath.append(tname);
_internal_state st = { NULL, "", true };
st.texture_path = tpath.str();
_internal_state st = { NULL, tpath.str(), true };
_status.push_back( st );
}
@@ -268,8 +266,7 @@ SGMaterial::build_ssg_state( bool defer_tex_load )
void SGMaterial::set_ssg_state( ssgSimpleState *s )
{
_internal_state st = { NULL, "", true };
st.state = s;
_internal_state st = { s, "", true };
st.state->ref();
_status.push_back( st );
}