Revision a0397f32
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/library/main/DistortedChildrenList.java | ||
---|---|---|
99 | 99 |
void addSortingByBuckets(DistortedNode newChild) |
100 | 100 |
{ |
101 | 101 |
int i; |
102 |
long bucket = newChild.getEffects().getPostprocess().getID(); |
|
102 |
EffectQueue queue = newChild.getEffects().getQueues()[3]; |
|
103 |
long bucket = queue.getID(); |
|
103 | 104 |
boolean sameBucket = false; |
104 | 105 |
|
105 | 106 |
for(i=0; i<mNumChildren; i++) |
106 | 107 |
{ |
107 |
if( mChildren.get(i).getEffects().getPostprocess().getID() == bucket ) |
|
108 |
queue = mChildren.get(i).getEffects().getQueues()[3]; |
|
109 |
|
|
110 |
if( queue.getID() == bucket ) |
|
108 | 111 |
{ |
109 | 112 |
sameBucket=true; |
110 | 113 |
} |
Also available in: Unified diff
Make DistortedEffects oblivious of the effect types.