Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#24969] Python Console bug: inserting a large text leads to strange caret behavior

Date:
2010-11-29 11:04
Priority:
3
State:
Closed
Submitted by:
Denis Russkih (denis_russkih)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Python Console bug: inserting a large text leads to strange caret behavior
Detailed description
Blender 2.55 Beta.

"File -> New", press Tab to go into Edit Mode, select some vertices, press Shift+F4 to access Console, select "Python" console type and then paste this:

bpy.ops.transform.translate(value=(0, 0, 1), constraint_axis=(False, False, True), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1, snap=False, snap_target='CLOSEST', snap_point=(0, 0, 0), snap_align=False, snap_normal=(0, 0, 0), release_confirm=False)

(This code just moving selected vertices up. Copied from the log.)

As you can see, the caret is missing. Now press Ctrl+Left and wait. Wow! The caret is coming back! But... It behaves strangely. Try and see. (For example, press Space or Backspace.)

Followup

Message
  • Date: 2010-11-29 11:11
  • Sender: Denis Russkih
  • ATTENTION!

    This code must be entered in ONE LINE!

    bpy.ops.transform.translate(value=(0, 0, 1), constraint_axis=(False, False, True), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1, snap=False, snap_target='CLOSEST', snap_point=(0, 0, 0), snap_align=False, snap_normal=(0, 0, 0), release_confirm=False)

    Why did Bug Tracker divide the text into three rows?
  • Date: 2010-11-29 11:18
  • Sender: Denis Russkih
  • LOL... Please copy the code to any text editor, delete all "newline" symbols and then paste it into Blender Python Console. :)
  • Date: 2010-11-29 13:58
  • Sender: Ton Roosendaal
  • Another one for the python master Campbell!
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionInvestigate2010-11-29 21:42campbellbarton
close_date2010-11-29 21:422010-11-29 21:42campbellbarton
status_idOpen2010-11-29 21:42campbellbarton
ResolutionNone2010-11-29 13:58ton
assigned_tonone2010-11-29 13:58ton