blender/release/scripts/modules
Campbell Barton 5452f335d7 New optional operator function, check(), it takes the same arguments as execute().
This runs after changing a property and allows correcting incompatible options.
 Returning True will redraw the UI.

Currently this is used for setting the write extension when saving files, so changing the image format also corrects the extension.
The same is accessible from python where its used when saving SVG/EPS/PNG files.

This fixes: [#23828] obj export problems, [#23760] Exporting OBJ and filetype ending
also fixed document submission operator.


Now the filename in the file selector is the one used for writing this means we remove the "Save Over" popup which could be overlooked too easily.
Instead display the filename field with red tint, and a note in the tooltip.
2010-09-17 09:27:31 +00:00
..
bpy Fix #23865: F8 reload scripts doesn't work with an addon enabled, 2010-09-16 18:50:33 +00:00
console fix for autocomp., was raising an error when autocompleating functions defined in the console because their file wasnt found (which is correct in this case). 2010-07-14 14:56:33 +00:00
rigify fix some errors in rigify caused by recent api changes 2010-08-27 00:05:00 +00:00
add_object_utils.py ran through pep8 checker 2010-09-07 15:17:42 +00:00
animsys_refactor.py rna data path names which are more likely to break animations. 2010-08-20 06:09:58 +00:00
blend_render_info.py ran through pep8 checker 2010-09-07 15:17:42 +00:00
bpy_types.py bugfix [#23833] Console Errors (Keymaps) 2010-09-15 13:41:38 +00:00
bpyml_ui.py ran through pep8 checker 2010-09-07 15:17:42 +00:00
bpyml.py ran through pep8 checker 2010-09-07 15:17:42 +00:00
graphviz_export.py ran through pep8 checker 2010-09-07 15:17:42 +00:00
io_utils.py New optional operator function, check(), it takes the same arguments as execute(). 2010-09-17 09:27:31 +00:00
rigify_utils.py fix some errors in rigify caused by recent api changes 2010-08-27 00:05:00 +00:00
rna_info.py ran through pep8 checker 2010-09-07 15:17:42 +00:00
rna_prop_ui.py ran through pep8 checker 2010-09-07 15:17:42 +00:00