State:Closed|icon_bug|database:public|icon_mari|Resolution:Fixed|TargetRelease:4.7v5|BugID:487198|
Problem summary
Running the mari.Channel.resize() method breaks the current History Macro block
Customer reported version
Mari 4.7v4
Customer reported platform
n/a
Steps to reproduce
1) Open any Project
2) Create a Channel
3) Run the following snippet in the Python Console:
mari.current.channel().resize(mari.ImageSet.SIZE_512) # set size to 512
mari.history.startMacro('Test Macro')
mari.current.channel().resize(mari.ImageSet.SIZE_1024) # resize to 1024
mari.history.stopMacro()
Traceback (most recent call last):
File "<string>", line 4, in <module>
RuntimeError: No macro is currently active
WorkaroundWe're sorry to hear that
Please tell us why