diff options
author | Melanie | 2012-03-13 13:08:32 +0100 |
---|---|---|
committer | Melanie | 2012-03-13 13:08:32 +0100 |
commit | ebcd4910a21726c830796cfe14c0792007b766b7 (patch) | |
tree | bc62802ae47fad6f9cffd0ccb2e4e61af56befe8 /OpenSim/Region/ClientStack/Linden | |
parent | Restore duplication of the SL bug where linking phantom to solid lets the (diff) | |
download | opensim-SC_OLD-ebcd4910a21726c830796cfe14c0792007b766b7.zip opensim-SC_OLD-ebcd4910a21726c830796cfe14c0792007b766b7.tar.gz opensim-SC_OLD-ebcd4910a21726c830796cfe14c0792007b766b7.tar.bz2 opensim-SC_OLD-ebcd4910a21726c830796cfe14c0792007b766b7.tar.xz |
Refactor, move OjectChangeData into it's own file and rename
ObjectChnageWhat what into ObjectChangeType change. What is
no name for a variable or type!
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 4c43c10..18af623 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -11504,14 +11504,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11504 | case 1: //change position sp | 11504 | case 1: //change position sp |
11505 | udata.position = new Vector3(block.Data, 0); | 11505 | udata.position = new Vector3(block.Data, 0); |
11506 | 11506 | ||
11507 | udata.what = ObjectChangeWhat.primP; | 11507 | udata.change = ObjectChangeType.primP; |
11508 | updatehandler(localId, udata, this); | 11508 | updatehandler(localId, udata, this); |
11509 | break; | 11509 | break; |
11510 | 11510 | ||
11511 | case 2: // rotation sp | 11511 | case 2: // rotation sp |
11512 | udata.rotation = new Quaternion(block.Data, 0, true); | 11512 | udata.rotation = new Quaternion(block.Data, 0, true); |
11513 | 11513 | ||
11514 | udata.what = ObjectChangeWhat.primR; | 11514 | udata.change = ObjectChangeType.primR; |
11515 | updatehandler(localId, udata, this); | 11515 | updatehandler(localId, udata, this); |
11516 | break; | 11516 | break; |
11517 | 11517 | ||
@@ -11519,13 +11519,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11519 | udata.position = new Vector3(block.Data, 0); | 11519 | udata.position = new Vector3(block.Data, 0); |
11520 | udata.rotation = new Quaternion(block.Data, 12, true); | 11520 | udata.rotation = new Quaternion(block.Data, 12, true); |
11521 | 11521 | ||
11522 | udata.what = ObjectChangeWhat.primPR; | 11522 | udata.change = ObjectChangeType.primPR; |
11523 | updatehandler(localId, udata, this); | 11523 | updatehandler(localId, udata, this); |
11524 | break; | 11524 | break; |
11525 | 11525 | ||
11526 | case 4: // scale sp | 11526 | case 4: // scale sp |
11527 | udata.scale = new Vector3(block.Data, 0); | 11527 | udata.scale = new Vector3(block.Data, 0); |
11528 | udata.what = ObjectChangeWhat.primS; | 11528 | udata.change = ObjectChangeType.primS; |
11529 | 11529 | ||
11530 | updatehandler(localId, udata, this); | 11530 | updatehandler(localId, udata, this); |
11531 | break; | 11531 | break; |
@@ -11533,7 +11533,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11533 | case 0x14: // uniform scale sp | 11533 | case 0x14: // uniform scale sp |
11534 | udata.scale = new Vector3(block.Data, 0); | 11534 | udata.scale = new Vector3(block.Data, 0); |
11535 | 11535 | ||
11536 | udata.what = ObjectChangeWhat.primUS; | 11536 | udata.change = ObjectChangeType.primUS; |
11537 | updatehandler(localId, udata, this); | 11537 | updatehandler(localId, udata, this); |
11538 | break; | 11538 | break; |
11539 | 11539 | ||
@@ -11541,7 +11541,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11541 | udata.position = new Vector3(block.Data, 0); | 11541 | udata.position = new Vector3(block.Data, 0); |
11542 | udata.scale = new Vector3(block.Data, 12); | 11542 | udata.scale = new Vector3(block.Data, 12); |
11543 | 11543 | ||
11544 | udata.what = ObjectChangeWhat.primPS; | 11544 | udata.change = ObjectChangeType.primPS; |
11545 | updatehandler(localId, udata, this); | 11545 | updatehandler(localId, udata, this); |
11546 | break; | 11546 | break; |
11547 | 11547 | ||
@@ -11549,7 +11549,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11549 | udata.position = new Vector3(block.Data, 0); | 11549 | udata.position = new Vector3(block.Data, 0); |
11550 | udata.scale = new Vector3(block.Data, 12); | 11550 | udata.scale = new Vector3(block.Data, 12); |
11551 | 11551 | ||
11552 | udata.what = ObjectChangeWhat.primPUS; | 11552 | udata.change = ObjectChangeType.primPUS; |
11553 | updatehandler(localId, udata, this); | 11553 | updatehandler(localId, udata, this); |
11554 | break; | 11554 | break; |
11555 | 11555 | ||
@@ -11557,14 +11557,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11557 | case 9: //( 8 + 1 )group position | 11557 | case 9: //( 8 + 1 )group position |
11558 | udata.position = new Vector3(block.Data, 0); | 11558 | udata.position = new Vector3(block.Data, 0); |
11559 | 11559 | ||
11560 | udata.what = ObjectChangeWhat.groupP; | 11560 | udata.change = ObjectChangeType.groupP; |
11561 | updatehandler(localId, udata, this); | 11561 | updatehandler(localId, udata, this); |
11562 | break; | 11562 | break; |
11563 | 11563 | ||
11564 | case 0x0A: // (8 + 2) group rotation | 11564 | case 0x0A: // (8 + 2) group rotation |
11565 | udata.rotation = new Quaternion(block.Data, 0, true); | 11565 | udata.rotation = new Quaternion(block.Data, 0, true); |
11566 | 11566 | ||
11567 | udata.what = ObjectChangeWhat.groupR; | 11567 | udata.change = ObjectChangeType.groupR; |
11568 | updatehandler(localId, udata, this); | 11568 | updatehandler(localId, udata, this); |
11569 | break; | 11569 | break; |
11570 | 11570 | ||
@@ -11572,7 +11572,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11572 | udata.position = new Vector3(block.Data, 0); | 11572 | udata.position = new Vector3(block.Data, 0); |
11573 | udata.rotation = new Quaternion(block.Data, 12, true); | 11573 | udata.rotation = new Quaternion(block.Data, 12, true); |
11574 | 11574 | ||
11575 | udata.what = ObjectChangeWhat.groupPR; | 11575 | udata.change = ObjectChangeType.groupPR; |
11576 | updatehandler(localId, udata, this); | 11576 | updatehandler(localId, udata, this); |
11577 | break; | 11577 | break; |
11578 | 11578 | ||
@@ -11583,8 +11583,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11583 | 11583 | ||
11584 | udata.scale = new Vector3(block.Data, 0); | 11584 | udata.scale = new Vector3(block.Data, 0); |
11585 | 11585 | ||
11586 | // udata.what = ObjectChangeWhat.groupS; | 11586 | // udata.change = ObjectChangeType.groupS; |
11587 | udata.what = ObjectChangeWhat.primS; // to conform to current SL | 11587 | udata.change = ObjectChangeType.primS; // to conform to current SL |
11588 | updatehandler(localId, udata, this); | 11588 | updatehandler(localId, udata, this); |
11589 | 11589 | ||
11590 | break; | 11590 | break; |
@@ -11595,15 +11595,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11595 | udata.position = new Vector3(block.Data, 0); | 11595 | udata.position = new Vector3(block.Data, 0); |
11596 | udata.scale = new Vector3(block.Data, 12); | 11596 | udata.scale = new Vector3(block.Data, 12); |
11597 | 11597 | ||
11598 | // udata.what = ObjectChangeWhat.groupPS; | 11598 | // udata.change = ObjectChangeType.groupPS; |
11599 | udata.what = ObjectChangeWhat.primPS; // to conform to current SL | 11599 | udata.change = ObjectChangeType.primPS; // to conform to current SL |
11600 | updatehandler(localId, udata, this); | 11600 | updatehandler(localId, udata, this); |
11601 | break; | 11601 | break; |
11602 | 11602 | ||
11603 | case 0x1C: // (0x10 + 8 + 4 ) group scale UNIFORM | 11603 | case 0x1C: // (0x10 + 8 + 4 ) group scale UNIFORM |
11604 | udata.scale = new Vector3(block.Data, 0); | 11604 | udata.scale = new Vector3(block.Data, 0); |
11605 | 11605 | ||
11606 | udata.what = ObjectChangeWhat.groupUS; | 11606 | udata.change = ObjectChangeType.groupUS; |
11607 | updatehandler(localId, udata, this); | 11607 | updatehandler(localId, udata, this); |
11608 | break; | 11608 | break; |
11609 | 11609 | ||
@@ -11611,7 +11611,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11611 | udata.position = new Vector3(block.Data, 0); | 11611 | udata.position = new Vector3(block.Data, 0); |
11612 | udata.scale = new Vector3(block.Data, 12); | 11612 | udata.scale = new Vector3(block.Data, 12); |
11613 | 11613 | ||
11614 | udata.what = ObjectChangeWhat.groupPUS; | 11614 | udata.change = ObjectChangeType.groupPUS; |
11615 | updatehandler(localId, udata, this); | 11615 | updatehandler(localId, udata, this); |
11616 | break; | 11616 | break; |
11617 | 11617 | ||