Project

General

Profile

« Previous | Next » 

Revision 45516ed2

Added by Leszek Koltunski over 2 years ago

Fix setDefaultRotation() when changing an object; do it at exactly the right time when the 'old' object has already disappeared, but the new hasn't been attached to the Nodee yet.

View differences:

src/main/java/org/distorted/config/ConfigSurfaceView.java
87 87
        ConfigActivity act = (ConfigActivity)context;
88 88
        ConfigObjectLibInterface ref = new ConfigObjectLibInterface();
89 89
        mObjectController = new ObjectControl(act,ref);
90
        mObjectController.setRotateOnCreation(true);
90 91
        mRenderer = new ConfigRenderer(this);
91 92

  
92 93
        final ActivityManager activityManager= (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);

Also available in: Unified diff