mirror of
https://github.com/MapMakersAndProgrammers/Alternativa3D.git
synced 2025-10-26 09:59:10 -07:00
Merge pull request #38 from Hyzhak/master
Fix bugs with new asc2.0 compiler
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
|
||||
package alternativa.engine3d.animation {
|
||||
|
||||
import flash.utils.Dictionary;
|
||||
import flash.utils.getTimer;
|
||||
|
||||
import alternativa.engine3d.alternativa3d;
|
||||
import alternativa.engine3d.animation.events.NotifyEvent;
|
||||
import alternativa.engine3d.core.Object3D;
|
||||
|
||||
import flash.utils.Dictionary;
|
||||
import flash.utils.getTimer;
|
||||
|
||||
use namespace alternativa3d;
|
||||
/**
|
||||
* Controls animation playback and blending. I.e. it animates model using information
|
||||
@@ -170,7 +170,7 @@ package alternativa.engine3d.animation {
|
||||
var j:int;
|
||||
var count:int;
|
||||
if (object is Object3D) {
|
||||
index = _object3ds.indexOf(object);
|
||||
index = _object3ds.indexOf(object as Object3D);
|
||||
count = _object3ds.length - 1;
|
||||
j = index + 1;
|
||||
while (index < count) {
|
||||
|
||||
@@ -26,7 +26,7 @@ package alternativa.engine3d.animation.keys {
|
||||
*/
|
||||
alternativa3d var keyList:NumberKey;
|
||||
|
||||
private var lastKey:NumberKey;
|
||||
private var _lastKey:NumberKey;
|
||||
|
||||
/**
|
||||
* @private
|
||||
@@ -47,7 +47,7 @@ package alternativa.engine3d.animation.keys {
|
||||
* @private
|
||||
*/
|
||||
override alternativa3d function get lastKey():Keyframe {
|
||||
return lastKey;
|
||||
return _lastKey;
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ package alternativa.engine3d.animation.keys {
|
||||
* @private
|
||||
*/
|
||||
override alternativa3d function set lastKey(value:Keyframe):void {
|
||||
lastKey = NumberKey(value);
|
||||
_lastKey = NumberKey(value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,7 @@ package alternativa.engine3d.animation.keys {
|
||||
|
||||
private var keyList:TransformKey;
|
||||
|
||||
private var lastKey:TransformKey;
|
||||
private var _lastKey:TransformKey;
|
||||
|
||||
/**
|
||||
* @private
|
||||
@@ -45,14 +45,14 @@ package alternativa.engine3d.animation.keys {
|
||||
* @private
|
||||
*/
|
||||
override alternativa3d function get lastKey():Keyframe {
|
||||
return lastKey;
|
||||
return _lastKey;
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
override alternativa3d function set lastKey(value:Keyframe):void {
|
||||
lastKey = TransformKey(value);
|
||||
_lastKey = TransformKey(value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user