Fix T89366: GPencil hide layers above parented layer
The problem was the flag was not reset by layer in the loop.
This commit is contained in:
@@ -3009,8 +3009,9 @@ void BKE_gpencil_update_layer_transforms(const Depsgraph *depsgraph, Object *ob)
|
||||
bGPdata *gpd = (bGPdata *)ob->data;
|
||||
float cur_mat[4][4];
|
||||
|
||||
bool changed = false;
|
||||
LISTBASE_FOREACH (bGPDlayer *, gpl, &gpd->layers) {
|
||||
bool changed = false;
|
||||
|
||||
unit_m4(cur_mat);
|
||||
if (gpl->actframe != NULL) {
|
||||
if (gpl->parent != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user