[Bf-blender-cvs] [81a09628c29] master: GPencil: Update stroke when UV factor is changed
Antonioya
noreply at git.blender.org
Thu Mar 7 20:04:17 CET 2019
Commit: 81a09628c29d788affb0686e9ebdce7dc6a09d2d
Author: Antonioya
Date: Thu Mar 7 20:04:00 2019 +0100
Branches: master
https://developer.blender.org/rB81a09628c29d788affb0686e9ebdce7dc6a09d2d
GPencil: Update stroke when UV factor is changed
The stroke was updated only after doing a refresh operation.
===================================================================
M source/blender/editors/gpencil/gpencil_utils.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index d17e83677d7..5544e0c5c4c 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -1994,6 +1994,7 @@ void ED_gpencil_update_color_uv(Main *bmain, Material *mat)
}
}
}
+ DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY);
}
}
}
More information about the Bf-blender-cvs
mailing list