Revision 6d4cbfdf
Added by Leszek Koltunski 10 months ago
| src/main/java/org/distorted/library/mesh/MeshBase.java | ||
|---|---|---|
| 1349 | 1349 |
{
|
| 1350 | 1350 |
if( component>=0 && component<mMaxComponents ) |
| 1351 | 1351 |
{
|
| 1352 |
andAssociation &= 0x7fff; |
|
| 1353 |
|
|
| 1354 | 1352 |
if( mJobNode[0]==null ) |
| 1355 | 1353 |
{
|
| 1356 | 1354 |
setEffectAssociationNow(component, andAssociation, equAssociation); |
| src/main/java/org/distorted/library/message/EffectMessageSender.java | ||
|---|---|---|
| 103 | 103 |
|
| 104 | 104 |
while(mThis!=null) |
| 105 | 105 |
{
|
| 106 |
while( mList.size()>0 )
|
|
| 106 |
while( !mList.isEmpty() )
|
|
| 107 | 107 |
{
|
| 108 | 108 |
tmp = mList.remove(0); |
| 109 | 109 |
tmp.mListener.effectFinished(tmp.mEffectID); |
| src/main/java/org/distorted/library/uniformblock/UniformBlockAssociation.java | ||
|---|---|---|
| 106 | 106 |
|
| 107 | 107 |
public void setEffectAssociationNow(int comp, int andAssociation, int equAssociation) |
| 108 | 108 |
{
|
| 109 |
mAssociations[mStride*comp+LOC_AND] = andAssociation; |
|
| 109 |
mAssociations[mStride*comp+LOC_AND] &= 0x8000; |
|
| 110 |
mAssociations[mStride*comp+LOC_AND] += (andAssociation & 0x7fff); |
|
| 110 | 111 |
mAssociations[mStride*comp+LOC_EQU] = equAssociation; |
| 111 | 112 |
|
| 112 | 113 |
mUBO.invalidate(); |
Also available in: Unified diff
Bugfix with UniformBlockAssociation