oops, false -> NULL

This commit is contained in:
David Rose 2004-10-25 17:23:28 +00:00
parent cc9452dc50
commit ad1f64ba56

View File

@ -2818,7 +2818,7 @@ has_tex_transform(TextureStage *stage) const {
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
CPT(TransformState) NodePath:: CPT(TransformState) NodePath::
get_tex_transform(TextureStage *stage) const { get_tex_transform(TextureStage *stage) const {
nassertr_always(!is_empty(), false); nassertr_always(!is_empty(), NULL);
const RenderAttrib *attrib = const RenderAttrib *attrib =
node()->get_attrib(TexMatrixAttrib::get_class_type()); node()->get_attrib(TexMatrixAttrib::get_class_type());