Skip to content

Commit 4987e2e

Browse files
authored
Update translate.js
1 parent 1e163f1 commit 4987e2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Typings/Scene/Resources/translate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Scene.newF("translate", function(data, meta) {
5454
// this part is mostly just for like making sure that objects get put in Scene.objects and UnityscriptWorkspace.objects
5555
if (obj instanceof this.parent.GameObject) { this.objects.push(fileID, obj); this.parent.objects.push(fileID, obj); }
5656
if (obj instanceof this.parent.Light) { this.lights.push(fileID, obj); }
57+
if (obj instanceof this.parent.Camera) { this.cameras.push(fileID, obj); }
5758

5859
// finally adds it to the children
5960
this.children.push(fileID, obj);

0 commit comments

Comments
 (0)