pupsnow / flex-object-handles

Automatically exported from code.google.com/p/flex-object-handles
0 stars 0 forks source link

Cannot move multiselect objects by keys #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Select some objects
2. Try move by keys left, right, up or down
3. :(

Version ObjectHandles-2.0.0008, Windows

Original issue reported on code.google.com by ruzz...@gmail.com on 20 Sep 2011 at 3:59

GoogleCodeExporter commented 9 years ago
Solution:
in 
com.roguedevelopment.objecthandles.ObjectHandles.onKeyDown(event:KeyboardEvent):
void

add after originalGeometry = selectionManager.getGeometry():

            originalModelGeometry = new Dictionary();
            for each(var current:Object in selectionManager.currentlySelected) {
                originalModelGeometry[current] = selectionManager.getGeometryForObject(current);
            }

Original comment by ruzz...@gmail.com on 20 Sep 2011 at 8:15