D2777: allow blank lines and lines with spaces/tabs in cut/paste

This commit is contained in:
Gaia Clary 2017-08-07 20:34:22 +02:00
parent 78c2242db5
commit c0a7e9b631
Notes: blender-bot 2023-12-22 20:14:11 +01:00
Referenced by commit a3b8f98913, revert commit c0a7e9b631 because it did not work as expected
1 changed files with 1 additions and 1 deletions

View File

@ -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: