Skip to content

Commit

Permalink
Fix silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia committed Feb 20, 2024
1 parent f73e8a9 commit 02c93a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DCL_PiXYZ/PXZEntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private static async Task RunLODBuilder(string[] args)

if (CheckFaillingDebugScenes(sceneConversionInfo.SceneImporter.GetCurrentScenePointersList(), currentScene)) continue;

if (!await ManifestGeneratedSuccesfully(sceneConversionInfo, debugInfo, currentScene)) continue;
if (!await ManifestGeneratedSuccesfully(sceneConversionInfo, debugInfo, currentScene)) continue;

if (!await sceneConversionInfo.SceneImporter.DownloadAllContent(debugInfo)) continue;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist
componentData = new MaterialData();
break;
case RenderableEntityConstants.GLTFContainer:
componentData = new GLTFContainerData(new DCLGLTFMesh());
componentData = new GLTFContainerData(new DCLGLTFMesh(jsonObject["data"]["src"].Value<string>()));
break;
case RenderableEntityConstants.MeshRenderer:
componentData = new MeshRendererData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ public class DCLGLTFMesh : DCLMesh
{
private SceneConversionDebugInfo debugInfo;

public DCLGLTFMesh()
private string src;

public DCLGLTFMesh(string src)
{
this.src = src;
}

public override PXZModel InstantiateMesh(PiXYZAPI pxz, string entityID , uint parent, uint material, Dictionary<string, string> sceneContent, SceneConversionDebugInfo debugInfo)
Expand Down

0 comments on commit 02c93a2

Please sign in to comment.