Permalink
Browse files

Fixed bug in setting geometry to dynamic in edit mode

  • Loading branch information...
1 parent 7eb6b0c commit e3547703d0c2af5a9b3d52cb910a0f3f5105bb34 @onedayitwillmake committed Sep 4, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/ChuClone/GameViewController.js
@@ -450,8 +450,10 @@
*/
addObjectToScene: function( anEntityView ) {
- if( ChuClone.model.Constants.IS_EDIT_MODE() )
+ if( ChuClone.model.Constants.IS_EDIT_MODE() ) {
anEntityView.dynamic = true;
+ anEntityView.geometry.dynamic = true;
+ }
if(this._sceneEditor)
this._sceneEditor.startPlottingObject( anEntityView, THREE.SceneEditor.ScenePlotterDot.prototype.TYPES.SQUARE, false, false );

0 comments on commit e354770

Please sign in to comment.