D2777: allow blank lines and lines with spaces/tabs in cut/paste
This commit is contained in:
parent
78c2242db5
commit
c0a7e9b631
Notes:
blender-bot
2023-12-22 20:14:11 +01:00
Referenced by commita3b8f98913
, revert commitc0a7e9b631
because it did not work as expected
|
@ -163,7 +163,7 @@ def execute(context, is_interactive):
|
|||
line = line_object.body
|
||||
|
||||
# run the console, "\n" executes a multi line statement
|
||||
line_exec = line if line.strip() else "\n"
|
||||
line_exec = line if line.strip() else ""
|
||||
|
||||
is_multiline = console.push(line_exec)
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue