Skip to content

Commit 6b3e790

Browse files
dalkiaclaude
andcommitted
feat: rename lsd-local-ab arg to local-ab
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent d60b33e commit 6b3e790

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Explorer/Assets/DCL/Infrastructure/Global/AppArgs/AppArgsFlags.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static class AppArgsFlags
120120
public const string LSD_USE_REMOTE_AB = "lsd-use-remote-ab";
121121
public const string LSD_REMOTE_AB_SERVER = "lsd-remote-ab-server";
122122
public const string LSD_REMOTE_AB_WORLD = "lsd-remote-ab-world";
123-
public const string LSD_LOCAL_AB = "lsd-local-ab";
123+
public const string LOCAL_AB = "local-ab";
124124

125125
public const string OPTIMIZED_ASSETS_URL = "optimized-assets-url";
126126

Explorer/Assets/DCL/Infrastructure/Global/Dynamic/RealmLaunchSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ private void ParseRealmAppParameter(IAppArgs appParameters, string realmParamVal
114114

115115
if (isLocalSceneDevelopment)
116116
{
117-
bool useLocalAB = appParameters.HasFlag(AppArgsFlags.LSD_LOCAL_AB) || useLocalAssetBundles;
117+
bool useLocalAB = appParameters.HasFlag(AppArgsFlags.LOCAL_AB) || useLocalAssetBundles;
118118
bool useRemoteAB = appParameters.HasFlag(AppArgsFlags.LSD_USE_REMOTE_AB) || useRemoteAssetsBundles;
119119

120120
if (useLocalAB && useRemoteAB)
121121
{
122-
ReportHub.LogWarning(ReportCategory.ASSET_BUNDLES, $"Both '{AppArgsFlags.LSD_LOCAL_AB}' and '{AppArgsFlags.LSD_USE_REMOTE_AB}' were provided: local asset bundles take precedence");
122+
ReportHub.LogWarning(ReportCategory.ASSET_BUNDLES, $"Both '{AppArgsFlags.LOCAL_AB}' and '{AppArgsFlags.LSD_USE_REMOTE_AB}' were provided: local asset bundles take precedence");
123123
useRemoteAB = false;
124124
}
125125

docs/how-to-connect-to-a-local-scene.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ By default a local scene loads raw GLTFs. To preview it with real asset bundles,
7676
and add these parameters to the launch:
7777

7878
```
79-
--lsd-local-ab true --optimized-assets-url http://127.0.0.1:5147
79+
--local-ab true
8080
```
8181

8282
The scene's asset-bundle manifest is then fetched from abgen (which converts the scene's GLBs

0 commit comments

Comments
 (0)