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-08-02 02:55:12 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-02 02:55:12 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-07-14 07:47:03 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-02 02:55:12 +00:00
2010-08-02 02:55:12 +00:00
2010-08-02 02:55:12 +00:00
2010-08-05 16:05:30 +00:00
2010-08-02 02:55:12 +00:00
2010-08-05 16:05:30 +00:00
2010-08-02 02:55:12 +00:00
2010-08-02 02:55:12 +00:00
2010-08-02 02:55:12 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-02 02:55:12 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00
2010-08-05 16:05:30 +00:00