Skip to content

Commit

Permalink
only force-allocate "child" pdls
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 23, 2024
1 parent 4b2b72a commit 3160a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Basic/Core/pdlapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pdl_error pdl__ensure_trans(pdl_trans *trans,int what,int *wd, int recurse_count
for(j=vtable->nparents; j<vtable->npdls; j++)
flag |= trans->pdls[j]->state & PDL_ANYCHANGED;
if (flag & PDL_PARENTDIMSCHANGED) REDODIMS(PDL_RETERROR, trans);
for(j=0; j<vtable->npdls; j++)
for(j=vtable->nparents; j<vtable->npdls; j++)
if(trans->pdls[j]->trans_parent == trans)
PDL_ENSURE_ALLOCATED(trans->pdls[j]);
if(flag & (PDL_PARENTDATACHANGED | PDL_PARENTDIMSCHANGED)) {
Expand Down

0 comments on commit 3160a40

Please sign in to comment.