Blender Git Commit Log

Git Commits -> Revision b03b8c3

Revision b03b8c3 by Sergey Sharybin (master)
May 13, 2019, 13:06 (GMT)
Curve: Remove duplicated and confusing argument

Curve function had two arguments:

- for_render, which was originally supposed to be used to control
whether viewport or render visibility for modifiers is to be
used.

- use_render_resolution, which sounds like it is supposed to control
whether viewport or render resolution for curves is to be used.

What is totally confusing is that those arguments were used
interchangeably: sometimes use_render_resolution would control
modifiers visibility.

This commit makes it so there is one single argument for this.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D4850

Commit Details:

Full Hash: b03b8c3576bb1ebc49eb26155ab2c4a9857557aa
Parent Commit: f49fecc
Lines Changed: +25, -51

5 Modified Paths:

/source/blender/blenkernel/BKE_curve.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_displist.h (+1, -3) (Diff)
/source/blender/blenkernel/intern/curve.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/displist.c (+23, -44) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021