blender/release/scripts
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
..
io/netrender Apply patch [#23782] Fix typo in netrender UI 2010-09-13 22:57:35 +00:00
keyingsets Bugfix #23504: Axis-Angle Rotation keyframes were not being inserted correctly when using the 'Rotation' Keying Set 2010-08-27 04:43:47 +00:00
modules New optional operator function, check(), it takes the same arguments as execute(). 2010-09-17 09:27:31 +00:00
op New optional operator function, check(), it takes the same arguments as execute(). 2010-09-17 09:27:31 +00:00
presets rna context rename 2010-09-02 04:53:05 +00:00
templates replace self.properties.foo --> self.foo 2010-09-09 18:03:57 +00:00
ui Fix #23839: missing V shortcut for rip tool, now the rip & move operator 2010-09-16 20:16:20 +00:00