• 14May

    One of the small tweaks I’ve done to my client is to increase the precision that is displayed in the edit window for object position. The normal client only displays 3 digits of precision, while mine displays 5 (this makes me 1000× better at building, I think! Or else 0.001×… Hmm!). (If you want to change this yourself, just edit skins/xui/en-us/floater_tools.xml around lines 588-596. Just change where it says decimal_digits="3" to decimal_digits="give me plenty plzkthx"! You can do it for size and rotation and other stuff, too!)

    In addition to being a darn spiffy development in itself, this tweak has revealed an interesting little factoid about prim position and prim drift… which I will reveal after the fold!

    It seems that very minute (roughly, < 0.001m) changes to position won't stick on the sim—they aren't considered significant, I suppose. But there's an easy work-around: if you make two significant changes which almost cancel each other out, you can make an insignificant change stick! So instead of trying to move from 42.000099 to 42.000000 (which won't stick), you should move to 42.100000m and then to 42.000000. The two changes, while significant in themselves, add up to the desired insignificant change. Magic!

    So it turns out Second Life is just like that age-old saying: One step forward, approximately-but-not-exactly one step backward!

    Also, another bonus-mega-awesome tip for those of you with less precise edit windows: I’m 90% confident that you can enter much more precise numbers than it will display—and it will have an effect! Try it and see!


    Posted by Jacek Antonelli @ 12:40 am

2 Responses

WP_Cloudy
  • Talia Tokugawa's Blog Says:

    Precision tip……

    One of the small tweaks Iíve done to my client is to increase the precision that is displayed in the edit window for object position. The normal client only displays 3 digits of precision, while mine displays 5 (this makes me 1000◊ better at buildin…

  • Ancient1 Aeon Says:

    I opened both the default and silver floater_tools.xml in Dreamweaver CS3 and in between lines 588-596 there is no mention of decimal_digits=”3″. There are however 26 instances of decimal_digits=”3″ in that file, and I cannot figure out which ones are the right ones to make this change. If you know and you would respond by email or in this blog it would be a big help immediately. Thank you.