diff options
author | Peter Kim <pk15950@gmail.com> | 2022-09-08 07:00:43 +0300 |
---|---|---|
committer | Peter Kim <pk15950@gmail.com> | 2022-09-08 07:00:43 +0300 |
commit | e83f88c951e26b01893acee4f24b40a46062a41c (patch) | |
tree | 09f60bf7d4fc2ae1ef50668823e416fc675b252e /curve_assign_shapekey.py | |
parent | ec84e3294593e2e26475f18c81e847bf00dc201e (diff) | |
parent | 0cd92169d40ae1c7e103ff269e850eaf1b901646 (diff) |
Merge branch 'master' into xr-devxr-dev
Diffstat (limited to 'curve_assign_shapekey.py')
-rw-r--r-- | curve_assign_shapekey.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/curve_assign_shapekey.py b/curve_assign_shapekey.py index a87e89b0..75e42b1a 100644 --- a/curve_assign_shapekey.py +++ b/curve_assign_shapekey.py @@ -8,7 +8,7 @@ # # https://github.com/Shriinivas/assignshapekey/blob/master/LICENSE -import bpy, bmesh, bgl, gpu +import bpy, bmesh, gpu from gpu_extras.batch import batch_for_shader from bpy.props import BoolProperty, EnumProperty, StringProperty from collections import OrderedDict @@ -21,8 +21,8 @@ from bpy.types import Panel, Operator, AddonPreferences bl_info = { "name": "Assign Shape Keys", "author": "Shrinivas Kulkarni", - "version": (1, 0, 1), - "blender": (2, 80, 0), + "version": (1, 0, 2), + "blender": (3, 0, 0), "location": "View 3D > Sidebar > Edit Tab", "description": "Assigns one or more Bezier curves as shape keys to another Bezier curve", "doc_url": "{BLENDER_MANUAL_URL}/addons/add_curve/assign_shape_keys.html", @@ -835,7 +835,7 @@ class MarkerController: context.area.tag_redraw() def drawHandler(self): - bgl.glPointSize(MarkerController.defPointSize) + gpu.state.point_size_set(MarkerController.defPointSize) self.batch.draw(self.shader) def removeMarkers(self, context): |