Fix: Ensure that KeyingSet.bl_description field is properly escaped when using the...
authorJoshua Leung <aligorith@gmail.com>
Tue, 5 Feb 2019 03:21:35 +0000 (16:21 +1300)
committerJoshua Leung <aligorith@gmail.com>
Tue, 5 Feb 2019 03:21:35 +0000 (16:21 +1300)
commit49618b0e18f7554dd70ac898d93abc7baf380081
treefa510093d9d7c21806ac32ad0442ca88380f7c60
parentaf2d2d4dff77a1436b26007b5aa183075d91d537
Fix: Ensure that KeyingSet.bl_description field is properly escaped when using the Export to File operator

Previously, if double-quotes appeared in the KeyingSet.bl_description field,
these would cause a syntax error in the resulting .py script export of the
KeyingSet. Since single quotes are even more likely to appear
(e.g. as apostrophes), we now use triple quotes here.

Unreported bug, noticed earlier when investigating T61010.
release/scripts/startup/bl_operators/anim.py