Just not sure if there is a deeper issue that makes it not-redraw automatically
in this case.
Details
Diff Detail
- Repository
- rB Blender
- Branch
- presets-update (branched from master)
- Build Status
Buildable 3077 Build 3077: arc lint + arc unit
Event Timeline
There's a deeper issue here. Normally setting a property value through Python will trigger the required redraw.
Running e.g. C.scene.cycles.samples = 999 in the console seems to not redraw as well. We should find out which commit broke that.
Found the first issue. Unfortunately, it is still not the root cause of the issue.
This commit changed the redraw behavior when a preset is changed: rB5ec1d709e7717.
bpy.ops.script.python_file_run called ED_region_tag_redraw internally.
Unfortunately, C.scene.cycles.samples = 999 still does not trigger a redraw before commit.
Actually, running this script in Blender 2.79 does not redraw the properties panel as well. (running it in the console, redraws though)
So I guess, this never worked. I do not know why it should work tbh, does Blender keep track of where specific properties are drawn in the UI?
The actual bug here seems to be that executing a statement in the console does not trigger a full redraw anymore (trying to find where this happens in Blender 2.7 currently).