Skip to content

Commit

Permalink
Merge pull request #28 from dingdio/main
Browse files Browse the repository at this point in the history
new chunks creation
  • Loading branch information
rfuzzo authored Jan 19, 2023
2 parents e1e4219 + a1964d7 commit 2d371be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WolvenKit.CR2W/CR2W/CR2WFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public Dictionary<string, CR2WExportWrapper> GetChunksMapByPrefix(string name_pr
public CR2WExportWrapper CreateChunk(string type, int chunkindex=0, CR2WExportWrapper parent = null, CR2WExportWrapper virtualparent = null, CVariable cvar = null)
{
var chunk = new CR2WExportWrapper(this, type, parent);
chunk.CreateDefaultData(cvar);
chunk.CreateDefaultData();
chunk.data.VarChunkIndex = chunkindex;

if (parent!=null)
Expand Down

0 comments on commit 2d371be

Please sign in to comment.