Beta 2 Public:: Fixes issue when removing items from a collection including removal of GeometryGroups from a Surface. See issue #34.
This commit is contained in:
parent
a9e540602e
commit
b0e0ade519
@ -512,10 +512,10 @@ package com.degrafa.core.collections{
|
|||||||
var returnArray:Array
|
var returnArray:Array
|
||||||
|
|
||||||
if(values.length !=0){
|
if(values.length !=0){
|
||||||
returnArray=_items.splice(startIndex-1,deleteCount,values);
|
returnArray=_items.splice(startIndex,deleteCount,values);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
returnArray=_items.splice(startIndex-1,deleteCount);
|
returnArray=_items.splice(startIndex,deleteCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(returnArray){
|
if(returnArray){
|
||||||
|
Loading…
Reference in New Issue
Block a user