diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-07 23:50:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-07 23:50:02 +0300 |
commit | 66d275f8d3d4e7821e940b4d0ccbd7aa9b1f5037 (patch) | |
tree | 64ae6d088f4b11e52f026d9f2f1742f9532aebf4 /release/scripts/modules/bpy_types.py | |
parent | f23319d0958bdfc860f884dd261c652b158d587f (diff) |
RNA: update gizmo API for changes in Blender
- gpu module renamed.
- make gizmo.new() take type as a required argument.
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 55912e28c04..52dce466800 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -638,7 +638,7 @@ class Gizmo(StructRNA): :return: The newly created shape. :rtype: Undefined (it may change). """ - from _gpu.types import ( + from gpu.types import ( GPUBatch, GPUVertBuf, GPUVertFormat, |