Skip to content

Commit

Permalink
garphics: fix renamed function
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo committed Dec 14, 2019
1 parent 3500df1 commit 8826b87
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pivy/graphics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pivy import coin
from pivy.utils import getPointOnScreen
from pivy.utils import get_point_on_screen
from .colors import COLORS
from .plot import plot
from .mesh import simple_quad_mesh, simple_poly_mesh
Expand Down Expand Up @@ -319,8 +319,7 @@ def select_all_cb(self, attr, event_callback):

def cursor_pos(self, event):
pos = event.getPosition()
# print(list(getPointOnScreen1(self.render_manager, pos)))
return getPointOnScreen(self.render_manager, pos)
return get_point_on_screen(self.render_manager, pos)


def constrained_vector(self, vector):
Expand Down

0 comments on commit 8826b87

Please sign in to comment.