Browse Source

Editor: Remove author comments.

Mugen87 5 years ago
parent
commit
c1d29793d4
35 changed files with 9 additions and 162 deletions
  1. 0 4
      editor/js/Command.js
  2. 0 7
      editor/js/EditorControls.js
  3. 3 4
      editor/js/History.js
  4. 0 4
      editor/js/Sidebar.Geometry.ExtrudeGeometry.js
  5. 0 4
      editor/js/Sidebar.Geometry.LatheGeometry.js
  6. 0 4
      editor/js/Sidebar.Geometry.OctahedronGeometry.js
  7. 0 4
      editor/js/Sidebar.Geometry.RingGeometry.js
  8. 0 4
      editor/js/Sidebar.Geometry.ShapeGeometry.js
  9. 0 4
      editor/js/Sidebar.Geometry.TeapotBufferGeometry.js
  10. 0 4
      editor/js/Sidebar.Geometry.TetrahedronGeometry.js
  11. 0 4
      editor/js/Sidebar.Geometry.TubeGeometry.js
  12. 0 4
      editor/js/Sidebar.History.js
  13. 0 4
      editor/js/Sidebar.Settings.Shortcuts.js
  14. 0 4
      editor/js/Viewport.ViewHelper.js
  15. 0 5
      editor/js/commands/AddObjectCommand.js
  16. 0 5
      editor/js/commands/AddScriptCommand.js
  17. 3 5
      editor/js/commands/MoveObjectCommand.js
  18. 1 5
      editor/js/commands/MultiCmdsCommand.js
  19. 0 4
      editor/js/commands/RemoveObjectCommand.js
  20. 0 5
      editor/js/commands/RemoveScriptCommand.js
  21. 0 5
      editor/js/commands/SetColorCommand.js
  22. 0 5
      editor/js/commands/SetGeometryCommand.js
  23. 0 5
      editor/js/commands/SetGeometryValueCommand.js
  24. 0 5
      editor/js/commands/SetMaterialColorCommand.js
  25. 0 5
      editor/js/commands/SetMaterialCommand.js
  26. 2 4
      editor/js/commands/SetMaterialMapCommand.js
  27. 0 5
      editor/js/commands/SetMaterialValueCommand.js
  28. 0 5
      editor/js/commands/SetMaterialVectorCommand.js
  29. 0 5
      editor/js/commands/SetPositionCommand.js
  30. 0 5
      editor/js/commands/SetRotationCommand.js
  31. 0 5
      editor/js/commands/SetScaleCommand.js
  32. 0 5
      editor/js/commands/SetSceneCommand.js
  33. 0 5
      editor/js/commands/SetScriptValueCommand.js
  34. 0 5
      editor/js/commands/SetUuidCommand.js
  35. 0 5
      editor/js/commands/SetValueCommand.js

+ 0 - 4
editor/js/Command.js

@@ -1,7 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
 
 
 /**
 /**
  * @param editor pointer to main editor object used to initialize
  * @param editor pointer to main editor object used to initialize

+ 0 - 7
editor/js/EditorControls.js

@@ -1,10 +1,3 @@
-/**
- * @author qiao / https://github.com/qiao
- * @author mrdoob / http://mrdoob.com
- * @author alteredq / http://alteredqualia.com/
- * @author WestLangley / http://github.com/WestLangley
- */
-
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';
 
 
 function EditorControls( object, domElement ) {
 function EditorControls( object, domElement ) {

+ 3 - 4
editor/js/History.js

@@ -1,7 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
 
 
 import * as Commands from './commands/Commands.js';
 import * as Commands from './commands/Commands.js';
 
 
@@ -69,6 +65,7 @@ History.prototype = {
 			cmd.id = ++ this.idCounter;
 			cmd.id = ++ this.idCounter;
 
 
 		}
 		}
+
 		cmd.name = ( optionalName !== undefined ) ? optionalName : cmd.name;
 		cmd.name = ( optionalName !== undefined ) ? optionalName : cmd.name;
 		cmd.execute();
 		cmd.execute();
 		cmd.inMemory = true;
 		cmd.inMemory = true;
@@ -78,6 +75,7 @@ History.prototype = {
 			cmd.json = cmd.toJSON();	// serialize the cmd immediately after execution and append the json to the cmd
 			cmd.json = cmd.toJSON();	// serialize the cmd immediately after execution and append the json to the cmd
 
 
 		}
 		}
+
 		this.lastCmdTime = new Date();
 		this.lastCmdTime = new Date();
 
 
 		// clearing all the redo-commands
 		// clearing all the redo-commands
@@ -307,6 +305,7 @@ History.prototype = {
 				cmd.json = cmd.toJSON();
 				cmd.json = cmd.toJSON();
 
 
 			}
 			}
+
 			cmd = this.redo();
 			cmd = this.redo();
 
 
 		}
 		}

+ 0 - 4
editor/js/Sidebar.Geometry.ExtrudeGeometry.js

@@ -1,7 +1,3 @@
-/**
- * @author Temdog007 / http://github.com/Temdog007
- */
-
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';
 
 
 import { UIRow, UIText, UIInteger, UICheckbox, UIButton, UINumber } from './libs/ui.js';
 import { UIRow, UIText, UIInteger, UICheckbox, UIButton, UINumber } from './libs/ui.js';

+ 0 - 4
editor/js/Sidebar.Geometry.LatheGeometry.js

@@ -1,7 +1,3 @@
-/**
- * @author rfm1201
- */
-
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';
 
 
 import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
 import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';

+ 0 - 4
editor/js/Sidebar.Geometry.OctahedronGeometry.js

@@ -1,7 +1,3 @@
-/**
- * @author Temdog007 / http://github.com/Temdog007
- */
-
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';
 
 
 import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
 import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';

+ 0 - 4
editor/js/Sidebar.Geometry.RingGeometry.js

@@ -1,7 +1,3 @@
-/**
- * @author Temdog007 / http://github.com/Temdog007
- */
-
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';
 
 
 import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
 import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';

+ 0 - 4
editor/js/Sidebar.Geometry.ShapeGeometry.js

@@ -1,7 +1,3 @@
-/**
- * @author Temdog007 / http://github.com/Temdog007
- */
-
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';
 
 
 import { UIRow, UIText, UIInteger, UIButton } from './libs/ui.js';
 import { UIRow, UIText, UIInteger, UIButton } from './libs/ui.js';

+ 0 - 4
editor/js/Sidebar.Geometry.TeapotBufferGeometry.js

@@ -1,7 +1,3 @@
-/**
- * @author tschw
- */
-
 import { UIRow, UIText, UIInteger, UICheckbox, UINumber } from './libs/ui.js';
 import { UIRow, UIText, UIInteger, UICheckbox, UINumber } from './libs/ui.js';
 
 
 import { TeapotBufferGeometry } from '../../examples/jsm/geometries/TeapotBufferGeometry.js';
 import { TeapotBufferGeometry } from '../../examples/jsm/geometries/TeapotBufferGeometry.js';

+ 0 - 4
editor/js/Sidebar.Geometry.TetrahedronGeometry.js

@@ -1,7 +1,3 @@
-/**
- * @author Temdog007 / http://github.com/Temdog007
- */
-
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';
 
 
 import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
 import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';

+ 0 - 4
editor/js/Sidebar.Geometry.TubeGeometry.js

@@ -1,7 +1,3 @@
-/**
- * @author Temdog007 / http://github.com/Temdog007
- */
-
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';
 
 
 import { UIRow, UIText, UIInteger, UISelect, UICheckbox, UINumber } from './libs/ui.js';
 import { UIRow, UIText, UIInteger, UISelect, UICheckbox, UINumber } from './libs/ui.js';

+ 0 - 4
editor/js/Sidebar.History.js

@@ -1,7 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
 
 
 import { UIPanel, UIBreak, UIText } from './libs/ui.js';
 import { UIPanel, UIBreak, UIText } from './libs/ui.js';
 import { UIBoolean, UIOutliner } from './libs/ui.three.js';
 import { UIBoolean, UIOutliner } from './libs/ui.three.js';

+ 0 - 4
editor/js/Sidebar.Settings.Shortcuts.js

@@ -1,7 +1,3 @@
-/**
- * @author TyLindberg / https://github.com/TyLindberg
- */
-
 import { UIDiv, UIBreak, UIText, UIRow, UIInput } from './libs/ui.js';
 import { UIDiv, UIBreak, UIText, UIRow, UIInput } from './libs/ui.js';
 
 
 import { RemoveObjectCommand } from './commands/RemoveObjectCommand.js';
 import { RemoveObjectCommand } from './commands/RemoveObjectCommand.js';

+ 0 - 4
editor/js/Viewport.ViewHelper.js

@@ -1,7 +1,3 @@
-/**
- * @author Mugen87 / https://github.com/Mugen87
- */
-
 import { UIPanel } from './libs/ui.js';
 import { UIPanel } from './libs/ui.js';
 
 
 import * as THREE from '../../build/three.module.js';
 import * as THREE from '../../build/three.module.js';

+ 0 - 5
editor/js/commands/AddObjectCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 import * as THREE from '../../../build/three.module.js';
 import * as THREE from '../../../build/three.module.js';
 
 

+ 0 - 5
editor/js/commands/AddScriptCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**

+ 3 - 5
editor/js/commands/MoveObjectCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**
@@ -95,12 +90,15 @@ MoveObjectCommand.prototype = {
 			this.oldParent = this.editor.scene;
 			this.oldParent = this.editor.scene;
 
 
 		}
 		}
+
 		this.newParent = this.editor.objectByUuid( json.newParentUuid );
 		this.newParent = this.editor.objectByUuid( json.newParentUuid );
+
 		if ( this.newParent === undefined ) {
 		if ( this.newParent === undefined ) {
 
 
 			this.newParent = this.editor.scene;
 			this.newParent = this.editor.scene;
 
 
 		}
 		}
+
 		this.newIndex = json.newIndex;
 		this.newIndex = json.newIndex;
 		this.oldIndex = json.oldIndex;
 		this.oldIndex = json.oldIndex;
 
 

+ 1 - 5
editor/js/commands/MultiCmdsCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**
@@ -63,6 +58,7 @@ MultiCmdsCommand.prototype = {
 			cmds.push( this.cmdArray[ i ].toJSON() );
 			cmds.push( this.cmdArray[ i ].toJSON() );
 
 
 		}
 		}
+
 		output.cmds = cmds;
 		output.cmds = cmds;
 
 
 		return output;
 		return output;

+ 0 - 4
editor/js/commands/RemoveObjectCommand.js

@@ -1,7 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
 
 
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 

+ 0 - 5
editor/js/commands/RemoveScriptCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**

+ 0 - 5
editor/js/commands/SetColorCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**

+ 0 - 5
editor/js/commands/SetGeometryCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 import * as THREE from '../../../build/three.module.js';
 import * as THREE from '../../../build/three.module.js';

+ 0 - 5
editor/js/commands/SetGeometryValueCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**

+ 0 - 5
editor/js/commands/SetMaterialColorCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**

+ 0 - 5
editor/js/commands/SetMaterialCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 import * as THREE from '../../../build/three.module.js';
 import * as THREE from '../../../build/three.module.js';

+ 2 - 4
editor/js/commands/SetMaterialMapCommand.js

@@ -1,7 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
 
 
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
@@ -99,6 +95,7 @@ SetMaterialMapCommand.prototype = {
 				values.push( data );
 				values.push( data );
 
 
 			}
 			}
+
 			return values;
 			return values;
 
 
 		}
 		}
@@ -126,6 +123,7 @@ SetMaterialMapCommand.prototype = {
 				map.sourceFile = json.sourceFile;
 				map.sourceFile = json.sourceFile;
 
 
 			}
 			}
+
 			return map;
 			return map;
 
 
 		}
 		}

+ 0 - 5
editor/js/commands/SetMaterialValueCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**

+ 0 - 5
editor/js/commands/SetMaterialVectorCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 function SetMaterialVectorCommand( editor, object, attributeName, newValue, materialSlot ) {
 function SetMaterialVectorCommand( editor, object, attributeName, newValue, materialSlot ) {

+ 0 - 5
editor/js/commands/SetPositionCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 import * as THREE from '../../../build/three.module.js';
 import * as THREE from '../../../build/three.module.js';

+ 0 - 5
editor/js/commands/SetRotationCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 import * as THREE from '../../../build/three.module.js';
 import * as THREE from '../../../build/three.module.js';

+ 0 - 5
editor/js/commands/SetScaleCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 import * as THREE from '../../../build/three.module.js';
 import * as THREE from '../../../build/three.module.js';

+ 0 - 5
editor/js/commands/SetSceneCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 import { SetUuidCommand } from './SetUuidCommand.js';
 import { SetUuidCommand } from './SetUuidCommand.js';
 import { SetValueCommand } from './SetValueCommand.js';
 import { SetValueCommand } from './SetValueCommand.js';

+ 0 - 5
editor/js/commands/SetScriptValueCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**

+ 0 - 5
editor/js/commands/SetUuidCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**

+ 0 - 5
editor/js/commands/SetValueCommand.js

@@ -1,8 +1,3 @@
-/**
- * @author dforrer / https://github.com/dforrer
- * Developed as part of a project at University of Applied Sciences and Arts Northwestern Switzerland (www.fhnw.ch)
- */
-
 import { Command } from '../Command.js';
 import { Command } from '../Command.js';
 
 
 /**
 /**