Reduce the effect of rounding errors that occur when TEs are repeatedly unpacked, modified and repacked. Before, the errors were cumulative, causing textures with negative rotations to tend to rotate back towards zero. This patch, while not 100%, minimizes the effect of the error and causes it to no longer be cumulative, therefore a small, constant rotational error may ensue but there is no longer a behavior of constantly rotating to achieve zero rotation.
Reduce the effect of rounding errors that occur when TEs are repeatedly unpacked, modified and repacked. Before, the errors were cumulative, causing textures with negative rotations to tend to rotate back towards zero. This patch, while not 100%, minimizes the effect of the error and causes it to no longer be cumulative, therefore a small, constant rotational error may ensue but there is no longer a behavior of constantly rotating to achieve zero rotation.

Signed-off-by: Latif Khalifa <5bca08dbb755217a688bbbbfc7f4c2f929fc2d2f@streamgrid.net>

radegastdev/libopenmetaverse,radegastdev/libopenmetaverse,logicmoo/libopenmetaverse,logicmoo/libopenmetaverse,tectronics/libopenmetaverse,radegastdev/libopenmetaverse,logicmoo/libopenmetaverse,logicmoo/libopenmetaverse,logicmoo/libopenmetaverse,tectronics/libopenmetaverse,tectronics/libopenmetaverse,radegastdev/libopenmetaverse,logicmoo/libopenmetaverse,tectronics/libopenmetaverse