git-svn-id: svn://db.shs.com.ru/libs@610 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user