if (!_texture_str.empty()) {
_texture = _texture_base;
_texture.append(_texture_str);
+ _texture2D = SGLoadTexture2D(_texture);
_update |= TEXTURE;
}
_static_update = _update;
_alphaFunc = new osg::AlphaFunc(osg::AlphaFunc::GREATER, 0);
- _texture2D = SGLoadTexture2D(_texture);
}
void SGMaterialAnimation::initColorGroup(SGPropertyNode_ptr group, ColorSpec *col, int flag)