blender/release/scripts/ui
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
..
properties_animviz.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
properties_data_armature_rigify.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_armature.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_bone.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_camera.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_curve.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_empty.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_lamp.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_lattice.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_mesh.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_metaball.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_data_modifier.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
properties_game.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_material.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_object_constraint.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_object.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_particle.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_physics_cloth.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_physics_common.py pointcache support for relative external paths with the useual // prefix as well as library path option. 2010-07-14 07:47:03 +00:00
properties_physics_field.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_physics_fluid.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_physics_smoke.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_physics_softbody.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_render.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_scene.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_texture.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
properties_world.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_console.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_dopesheet.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
space_filebrowser.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
space_graph.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
space_image.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_info.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
space_logic.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_nla.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
space_node.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
space_outliner.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
space_sequencer.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_text.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_time.py RNA Types metaclass registration 2010-08-02 02:55:12 +00:00
space_userpref_keymap.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_userpref.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_view3d_toolbar.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00
space_view3d.py bugfix [#23182] Using self.report() inside poll() gives crash 2010-08-05 16:05:30 +00:00