Upload code cleansing
I found our upload classes were in need of a tune up while researching Issue 896: Animation upload setting causes viewer crash So I started working to clean up llfloaterbvhpreview which lead me to llfloaternamedesc and the rest of our upload floaters I ended up pulling the sound upload hack out of LLFloaterNameDesc and into LLFloaterSoundPreview and moving LLFloaterAnimPreview into llfloaternamedesc.* Updated llviewermenufile.cpp a bit Removed setUploadAmount from LLFloaterImagePreview and LLFloaterBvhPreview as its purpose is served by LLGlobalEconomy::getPriceUpload and the hippogridmanager too. Fixed an issue with floater_animation_anim_preview.xml using [AMOUNT] instead of [UPLOADFEE] for its label. I'd say this might fix Issue 896, I certainly can't reproduce the crash I was having when testing for it anymore.
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
<button
|
||||
follows="left|bottom"
|
||||
height="22"
|
||||
label="Upload ([AMOUNT])"
|
||||
label="Upload ([UPLOADFEE])"
|
||||
layout="topleft"
|
||||
left="45"
|
||||
name="ok_btn"
|
||||
|
||||
Reference in New Issue
Block a user