Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-15 00:55:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-15 00:55:54 +0300
commit89299f66207bd278e37e9e55ade87e8989b0de3d (patch)
treed0287dd0aa7ceb3d5a7f9cb22018c0b41e76790b /release/scripts/modules/bpy_types.py
parent5ebebcfbfff4c218ab4101ee7f6a66617ee9b01f (diff)
WM: rename manipulator to gizmo in Python API
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r--release/scripts/modules/bpy_types.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py
index e9f40bd0c3c..f4fd188c641 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -556,7 +556,7 @@ class RNAMetaPropGroup(StructMetaPropGroup, RNAMeta):
# Same as 'Operator'
# only without 'as_keywords'
-class Manipulator(StructRNA):
+class Gizmo(StructRNA):
__slots__ = ()
def __getattribute__(self, attr):
@@ -590,15 +590,15 @@ class Manipulator(StructRNA):
# Convenience wrappers around private `_gawain` module.
def draw_custom_shape(self, shape, *, matrix=None, select_id=None):
"""
- Draw a shape created form :class:`bpy.types.Manipulator.draw_custom_shape`.
+ Draw a shape created form :class:`bpy.types.Gizmo.draw_custom_shape`.
:arg shape: The cached shape to draw.
:type shape: Undefined.
:arg matrix: 4x4 matrix, when not given
- :class:`bpy.types.Manipulator.matrix_world` is used.
+ :class:`bpy.types.Gizmo.matrix_world` is used.
:type matrix: :class:`mathutils.Matrix`
:arg select_id: The selection id.
- Only use when drawing within :class:`bpy.types.Manipulator.draw_select`.
+ Only use when drawing within :class:`bpy.types.Gizmo.draw_select`.
:type select_it: int
"""
import gpu
@@ -627,7 +627,7 @@ class Manipulator(StructRNA):
@staticmethod
def new_custom_shape(type, verts):
"""
- Create a new shape that can be passed to :class:`bpy.types.Manipulator.draw_custom_shape`.
+ Create a new shape that can be passed to :class:`bpy.types.Gizmo.draw_custom_shape`.
:arg type: The type of shape to create in (POINTS, LINES, TRIS, LINE_STRIP).
:type type: string