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

Blender 2.6 Bug Tracker: Browse

[#26754] Live Edit and Editing UI scripts don't work

Date:
2011-04-03 13:35
Priority:
3
State:
Closed
Submitted by:
Murat Egretli (murattige)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Live Edit and Editing UI scripts don't work
Detailed description
There are some problems about editing UI scripts in Blender. Firstly, Live Edit feature doesn't work. Secondly, editing UI scripts doesn't work. Here is the example.

*Open space_view3d_toolbar with Text Editor.
*Try to change, add or rename some options then run script. Nothing happens.

Rev. 35970
Windows XP Pro 32 bit
Geforce 8600

Followup

Message
  • Date: 2011-04-03 17:44
  • Sender: Murat Egretli
  • There is also external editor problem. I edited the space_view3d_toolbar.py file with Notepad++ and then opened Blender. Empty UI appears.
  • Date: 2011-04-04 03:30
  • Sender: Joshua Leung
  • With "empty UI" problems, make sure that you're abiding by the same indention as is used in the file (in the case of our py scripts, it's damned spaces)
  • Date: 2011-04-04 10:10
  • Sender: Murat Egretli
  • You're right Joshua. But I have an interesting problem with Notepad++. I opened space_view3d_toolbar.py with notepad++ and add a new column to the object tools, then saved it. See the video below and tell me what's wrong with it please. (I did the same changes with Blender Text Editor and it worked.)

    http://megaswf.com/serve/1050029
  • Date: 2011-04-04 11:55
  • Sender: Brecht Van Lommel
  • The blender text editor inserts spaces when pressing tab by default, since that is the python convention we follow. Most likely notepad++ is inserting a tab. Just check the console window for errors when you get an empty UI, it should give the error message.
  • Date: 2011-04-04 12:13
  • Sender: Campbell Barton
  • Fixed live edit r35994.
    if you give script errors in python you need to check the dos window and it normally is quite clear whats wrong.

    closing.
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-04-04 12:13campbellbarton
close_dateNone2011-04-04 12:13campbellbarton
StatusNew2011-04-04 12:13campbellbarton
assigned_tonone2011-04-04 03:30aligorith