[Bf-blender-cvs] [a3b8f989131] master: revert commit c0a7e9b6312d74 because it did not work as expected

Gaia Clary noreply at git.blender.org
Thu Sep 21 00:07:42 CEST 2017


Commit: a3b8f989131625c72c3933832479626b377b6764
Author: Gaia Clary
Date:   Thu Sep 21 00:04:10 2017 +0200
Branches: master
https://developer.blender.org/rBa3b8f989131625c72c3933832479626b377b6764

revert commit c0a7e9b6312d74 because it did not work as expected

===================================================================

M	release/scripts/modules/console_python.py

===================================================================

diff --git a/release/scripts/modules/console_python.py b/release/scripts/modules/console_python.py
index 917819c908b..a740f31c830 100644
--- a/release/scripts/modules/console_python.py
+++ b/release/scripts/modules/console_python.py
@@ -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 ""
+            line_exec = line if line.strip() else "\n"
 
             is_multiline = console.push(line_exec)
         except:



More information about the Bf-blender-cvs mailing list