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);
}
}
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs