git-svn-id: svn://db.shs.com.ru/libs@610 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-10-10 09:43:54 +00:00
parent e2c07ef485
commit 47496c9570
2 changed files with 3 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ GLObjectBase * GLObjectBase::clone(bool withChildren) {
o->vbo.normals_ = vbo.normals_;
o->vbo.texcoords_ = vbo.texcoords_;
o->vbo.colors_ = vbo.colors_;
o->meta = meta;
o->view_ = nullptr;
o->children_.clear();
if (withChildren) {
@@ -468,6 +469,7 @@ GLObjectBase * Light::clone(bool withChildren) {
o->decay_const = decay_const;
o->decay_linear = decay_linear;
o->decay_quadratic = decay_quadratic;
o->meta = meta;
return o;
}