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>2011-02-17 10:21:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-17 10:21:44 +0300
commit2ae5c3932dd7a3f7d232fb04a3d5a11e92c0ff6d (patch)
treea31453a386aa8f60ef97ed6af298149266dc6781 /intern/mikktspace
parent73df566b4ae0ddcd483ea3f41e3f57f60ef44d8a (diff)
Change to how python classes are initialized when blender calls them.
Annoyance was that operators that defined and __init__ function would need to do... def __init__(self, another_self): .... py/rna was calling the class directly with PyObject_Call() but needed to pass the pre-allocated object only so __init__() would run . This works OK internally but becomes messy since __new__ and __init__ always get the same args there was no way to avoid a superfluous self argument to __init__.
Diffstat (limited to 'intern/mikktspace')
0 files changed, 0 insertions, 0 deletions