c434782e3a
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
30 lines
711 B
Python
30 lines
711 B
Python
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# <pep8 compliant>
|
|
|
|
bpy_types_Operator_bl_property__doc__ = (
|
|
"""
|
|
The name of a property to use as this operators primary property.
|
|
Currently this is only used to select the default property when
|
|
expanding an operator into a menu.
|
|
:type: string
|
|
""")
|
|
|
|
|
|
def main():
|
|
import bpy
|
|
from bpy.types import Operator
|
|
|
|
def dummy_func(test):
|
|
pass
|
|
|
|
kw_dummy = dict(fget=dummy_func, fset=dummy_func, fdel=dummy_func)
|
|
|
|
# bpy registration handles this,
|
|
# but its only checked for and not existing in the base class.
|
|
Operator.bl_property = property(doc=bpy_types_Operator_bl_property__doc__, **kw_dummy)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|