git-svn-id: svn://db.shs.com.ru/libs@610 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -126,6 +126,7 @@ GLObjectBase * Camera::clone(bool withChildren) {
|
|||||||
o->mirror_y = mirror_y;
|
o->mirror_y = mirror_y;
|
||||||
o->depth_start = depth_start;
|
o->depth_start = depth_start;
|
||||||
o->depth_end = depth_end;
|
o->depth_end = depth_end;
|
||||||
|
o->meta = meta;
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ GLObjectBase * GLObjectBase::clone(bool withChildren) {
|
|||||||
o->vbo.normals_ = vbo.normals_;
|
o->vbo.normals_ = vbo.normals_;
|
||||||
o->vbo.texcoords_ = vbo.texcoords_;
|
o->vbo.texcoords_ = vbo.texcoords_;
|
||||||
o->vbo.colors_ = vbo.colors_;
|
o->vbo.colors_ = vbo.colors_;
|
||||||
|
o->meta = meta;
|
||||||
o->view_ = nullptr;
|
o->view_ = nullptr;
|
||||||
o->children_.clear();
|
o->children_.clear();
|
||||||
if (withChildren) {
|
if (withChildren) {
|
||||||
@@ -468,6 +469,7 @@ GLObjectBase * Light::clone(bool withChildren) {
|
|||||||
o->decay_const = decay_const;
|
o->decay_const = decay_const;
|
||||||
o->decay_linear = decay_linear;
|
o->decay_linear = decay_linear;
|
||||||
o->decay_quadratic = decay_quadratic;
|
o->decay_quadratic = decay_quadratic;
|
||||||
|
o->meta = meta;
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user