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
This commit is contained in:
@@ -143,7 +143,6 @@ void BKE_curve_bevel_make(struct Depsgraph *depsgraph,
|
||||
struct Object *ob,
|
||||
struct ListBase *disp,
|
||||
const bool for_render,
|
||||
const bool use_render_resolution,
|
||||
struct LinkNode *ob_cyclic_list);
|
||||
|
||||
void BKE_curve_forward_diff_bezier(
|
||||
|
||||
Reference in New Issue
Block a user