This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/python/intern
Campbell Barton 163f6055d2 bugfix [#23182] Using self.report() inside poll() gives crash
poll() function is now a static method in python, this is more correct, matching C where the operator is not created to run poll.


    def poll(self, context): ...

is now...

    @staticmethod
    def poll(context): ...

Pythons way of doing static methods is a bit odd but cant be helped :|

This does make subclassing poll functions with COMPAT_ENGINES break, so had to modify quite a few scripts for this.
2010-08-05 16:05:30 +00:00
..
2010-07-15 21:39:47 +00:00
2010-02-12 13:34:04 +00:00
2010-02-12 13:34:04 +00:00
2010-03-14 16:06:43 +00:00
2010-02-12 13:34:04 +00:00
2010-06-05 15:31:55 +00:00
2010-03-21 01:14:04 +00:00
2010-03-21 01:14:04 +00:00
2010-03-21 01:14:04 +00:00
2009-08-10 15:39:11 +00:00
2010-03-21 01:14:04 +00:00