0

In a class you can create a bool that shows up in the Redo last panel.

Example snippet:

deselect = BoolProperty(name="Deselect", default=False)

Unfortunately this checkbox is not editable in the Redo Last panel then. It is greyed out. Is there a way to make it editable?

enter image description here

Tiles
  • 2,028
  • 16
  • 27
  • 2
  • Seems so. So i need to expand my question. How can i add Redo to the code so that i can toggle the edit box? Current bl_options are : bl_options = {'REGISTER', 'UNDO'} . The try to add redo here too gives an error. ValueError: validating class:: 'REDO' not found in ('REGISTER', 'UNDO', 'BLOCKING', 'MACRO', 'GRAB_CURSOR', 'PRESET', 'INTERNAL') – Tiles Jul 11 '16 at 16:56
  • 1
    It isn't your code, it is blender's user settings that disable the redo options. If it does happen to be only your operator that fails while others work, then adding your operator code may help see why it isn't working. – sambler Jul 11 '16 at 17:13
  • Hm. It's the Blender deselect bool from view3d.paint_select. Seems that i have to find another way then. Thanks :) – Tiles Jul 11 '16 at 18:03

0 Answers0