summaryrefslogtreecommitdiff
path: root/indra/newview/llagentaccess.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2018-06-29 17:08:48 -0400
committerNat Goodspeed <nat@lindenlab.com>2018-06-29 17:08:48 -0400
commit93ea0d7026dcb7a9aec3bd4f8615eb62da159a02 (patch)
treefec1c0596995d635c6195a8497f2ae8905f8b808 /indra/newview/llagentaccess.h
parentcd52724ef8f8a19ebe28c73f39a582b56fb58093 (diff)
MAINT-8822: Revamp the LLManifest.prefix() calling convention.
The way prefix("path_fragment") or prefix(src="path_fragment") has always worked is that unless you explicitly specify dst="", it adds "path_fragment" to the source AND dest prefix stacks! The most recent refactoring of viewer_manifest.py failed to copy CEF because it involved prefix(src="../some lengthy path fragment") -- forgetting to specify dst="" -- which added "../some lengthy path fragment" to the dest prefix stack -- which put it outside the viewer install staging area altogether. Having been bitten too many times by forgetting to add prefix(dst=""), we remove the necessity. The prefix() src=, build= and dst= prefix stacks are now completely independent. Add src_dst= keyword argument for when you DO want to add the same path fragment to both the source and dest prefix stacks. ("Explicit is better than implicit.") Change all existing calls accordingly. Now that the build prefix stack no longer tracks the src prefix stack, we were failing to pick up some things from the build area because NOBODY ever used build=, relying entirely on src= to point both to stuff in the source tree and stuff in the build tree. Try to use build= appropriately. If that proves too confusing, we might eliminate the separate build and artwork (!) prefix stacks entirely, requiring callers to reset the src stack explicitly when switching back and forth.
Diffstat (limited to 'indra/newview/llagentaccess.h')
0 files changed, 0 insertions, 0 deletions