Path: Indicate fromShape as deprecated - issue #2786

This commit is contained in:
Yorik van Havre
2018-01-12 17:06:30 -02:00
parent a8ab24abae
commit fb8875df08

View File

@@ -116,7 +116,7 @@ public:
"show(path,[string]): Add the path to the active document or create one if no document exists"
);
add_varargs_method("fromShape",&Module::fromShape,
"fromShape(Shape): Returns a Path object from a Part Shape"
"fromShape(Shape): Returns a Path object from a Part Shape (deprecated - use fromShapes() instead)"
);
add_keyword_method("fromShapes",&Module::fromShapes,
"fromShapes(shapes, start=Vector(), return_end=False" PARAM_PY_ARGS_DOC(ARG,AREA_PARAMS_PATH) ")\n"