Skip to content

Commit 81e5263

Browse files
committed
Reimplement SetRotationCommand that was missed when migrating to JS modules
1 parent 4d25e77 commit 81e5263

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

editor/js/commands/CommandFactory.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {SetMaterialColorCommand} from './Commands.js';
1010
import {SetMaterialValueCommand} from './Commands.js';
1111
import { SetPositionCommand } from './Commands.js';
1212
import { SetValueCommandMuscle } from './Commands.js';
13-
13+
import { SetRotationCommand } from './Commands.js';
1414
function CommandFactory() {
1515

1616
}
@@ -48,6 +48,9 @@ CommandFactory.prototype = {
4848
case 'SetPositionCommand':
4949
var cmd = new SetPositionCommand(theEditor);
5050
return cmd;
51+
case 'SetRotationCommand':
52+
var cmd = new SetRotationCommand(theEditor);
53+
return cmd;
5154
default:
5255
break;
5356
}

0 commit comments

Comments
 (0)