Merge branch 'blender-v2.92-release'
This commit is contained in:
@@ -1236,7 +1236,7 @@ static void gpencil_stroke_newfrombuffer(tGPsdata *p)
|
|||||||
/* change position relative to parent object */
|
/* change position relative to parent object */
|
||||||
gpencil_apply_parent(depsgraph, obact, gpl, gps);
|
gpencil_apply_parent(depsgraph, obact, gpl, gps);
|
||||||
/* If camera view or view projection, reproject flat to view to avoid perspective effect. */
|
/* If camera view or view projection, reproject flat to view to avoid perspective effect. */
|
||||||
if ((!is_depth) && ((align_flag & GP_PROJECT_VIEWSPACE) && is_lock_axis_view) || is_camera) {
|
if ((!is_depth) && (((align_flag & GP_PROJECT_VIEWSPACE) && is_lock_axis_view) || is_camera)) {
|
||||||
ED_gpencil_project_stroke_to_view(p->C, p->gpl, gps);
|
ED_gpencil_project_stroke_to_view(p->C, p->gpl, gps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user