Skip to content

Commit

Permalink
Reimplement SetRotationCommand that was missed when migrating to JS m…
Browse files Browse the repository at this point in the history
…odules
  • Loading branch information
aymanhab committed May 22, 2024
1 parent 4d25e77 commit 81e5263
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion editor/js/commands/CommandFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {SetMaterialColorCommand} from './Commands.js';
import {SetMaterialValueCommand} from './Commands.js';
import { SetPositionCommand } from './Commands.js';
import { SetValueCommandMuscle } from './Commands.js';

import { SetRotationCommand } from './Commands.js';
function CommandFactory() {

}
Expand Down Expand Up @@ -48,6 +48,9 @@ CommandFactory.prototype = {
case 'SetPositionCommand':
var cmd = new SetPositionCommand(theEditor);
return cmd;
case 'SetRotationCommand':
var cmd = new SetRotationCommand(theEditor);
return cmd;
default:
break;
}
Expand Down

0 comments on commit 81e5263

Please sign in to comment.