From e6bcdcead96aafc045d8c10a21b8b361779918b6 Mon Sep 17 00:00:00 2001 From: Zepmanbc Date: Sat, 3 Feb 2024 09:37:13 +0100 Subject: [PATCH 1/3] issue #84 drawing.set_view_loc return correction --- creopyson/drawing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creopyson/drawing.py b/creopyson/drawing.py index e491d49..f69ac89 100755 --- a/creopyson/drawing.py +++ b/creopyson/drawing.py @@ -951,7 +951,7 @@ def set_view_loc(client, view, point, drawing=None): data = {"view": view, "point": point} if drawing is not None: data["drawing"] = drawing - return client._creoson_post("drawing", "set_cur_model", data) + return client._creoson_post("drawing", "set_view_loc", data) def view_bound_box(client, view, drawing=None): From 5d6a7c2ac6420c3796610e8d54dce4038e97fc4b Mon Sep 17 00:00:00 2001 From: Zepmanbc Date: Sat, 3 Feb 2024 09:42:02 +0100 Subject: [PATCH 2/3] Changelog for upcoming release 0.7.7 --- HISTORY.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index 5693380..22635bd 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,14 @@ History ======= +0.7.7 (2024-02-03) +--------------------------------- + +* BugFix: + * Correction for `drawing.set_view_loc` (`issue#84`_) + +.. _`issue#84`: https://github.com/Zepmanbc/creopyson/issues/84 + 0.7.6 (2023-02-26) --------------------------------- From 23bf014a0bc0cc090317b3a20c3f734058fbebb7 Mon Sep 17 00:00:00 2001 From: Zepmanbc Date: Sat, 3 Feb 2024 09:42:14 +0100 Subject: [PATCH 3/3] =?UTF-8?q?Bump=20version:=200.7.6=20=E2=86=92=200.7.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- creopyson/__init__.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/creopyson/__init__.py b/creopyson/__init__.py index 86895a7..a3f1e87 100644 --- a/creopyson/__init__.py +++ b/creopyson/__init__.py @@ -4,7 +4,7 @@ __author__ = """Benjamin C.""" __email__ = "zepman@gmail.com" -__version__ = "0.7.6" +__version__ = "0.7.7" from creopyson.connection import Client from creopyson.objects import jlpoint diff --git a/setup.cfg b/setup.cfg index dda3cdc..4d10b67 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.7.6 +current_version = 0.7.7 commit = True tag = False diff --git a/setup.py b/setup.py index 34f64d1..ce717ef 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,6 @@ test_suite="tests", tests_require=test_requirements, url="https://github.com/Zepmanbc/creopyson", - version="0.7.6", + version="0.7.7", zip_safe=False, )