From c731cda3d872d3e0f37fd34ab87124176900c00a 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 b6853eb9920..07d6e78da86 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 756f8c687eb..932685d0ef8 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.