From d57b7cb0e5b31280bd42b8aaecd9ada802493f2f Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 11 Mar 2022 18:22:20 +0100 Subject: [PATCH] Clarify the position of points in `Curve{2D,3D}.add_point()` (cherry picked from commit 35c8d332b539b034cb325394e2a5c70623403916) --- doc/classes/Curve2D.xml | 2 +- doc/classes/Curve3D.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/Curve2D.xml b/doc/classes/Curve2D.xml index f6679439b19..d2d94e6a88d 100644 --- a/doc/classes/Curve2D.xml +++ b/doc/classes/Curve2D.xml @@ -17,7 +17,7 @@ - Adds a point to a curve at [code]position[/code], with control points [code]in[/code] and [code]out[/code]. + Adds a point to a curve at [code]position[/code] relative to the [Curve2D]'s position, with control points [code]in[/code] and [code]out[/code]. If [code]at_position[/code] is given, the point is inserted before the point number [code]at_position[/code], moving that point (and every point after) after the inserted point. If [code]at_position[/code] is not given, or is an illegal value ([code]at_position <0[/code] or [code]at_position >= [method get_point_count][/code]), the point will be appended at the end of the point list. diff --git a/doc/classes/Curve3D.xml b/doc/classes/Curve3D.xml index 76e4ece6fe2..7fbd309f338 100644 --- a/doc/classes/Curve3D.xml +++ b/doc/classes/Curve3D.xml @@ -17,7 +17,7 @@ - Adds a point to a curve at [code]position[/code], with control points [code]in[/code] and [code]out[/code]. + Adds a point to a curve at [code]position[/code] relative to the [Curve3D]'s position, with control points [code]in[/code] and [code]out[/code]. If [code]at_position[/code] is given, the point is inserted before the point number [code]at_position[/code], moving that point (and every point after) after the inserted point. If [code]at_position[/code] is not given, or is an illegal value ([code]at_position <0[/code] or [code]at_position >= [method get_point_count][/code]), the point will be appended at the end of the point list.