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) --------------------------------- 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/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): 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, )