EXT-5581 : Centralize is_asset_fetch/knowlable into asset dictionary
Took out some ugly case statements and stuck those functions into the asset dictionary instead. This makes the code a lot more centralized/extensible since if we ever add assets, it'll be clear that their fetch/knowable fields need to be added (versus that logic being in some obscure case statement).
Showing
- indra/llcommon/llassettype.cpp 64 additions, 34 deletionsindra/llcommon/llassettype.cpp
- indra/llcommon/llassettype.h 5 additions, 2 deletionsindra/llcommon/llassettype.h
- indra/llmessage/lltransfersourceasset.cpp 1 addition, 48 deletionsindra/llmessage/lltransfersourceasset.cpp
- indra/llmessage/lltransfersourceasset.h 0 additions, 20 deletionsindra/llmessage/lltransfersourceasset.h
- indra/newview/llinventorybridge.cpp 1 addition, 1 deletionindra/newview/llinventorybridge.cpp
Loading
Please register or sign in to comment