Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#25471] UI glitch - image editor scopes resize to negative height (+patch)
Date:
2011-01-03 11:48
Priority:
3
State:
Closed
Submitted by:
M.G. Kishalmi (
lmg
)
Assigned to:
Xavier Thomas (xat)
Category:
Interface
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
UI glitch - image editor scopes resize to negative height (+patch)
Detailed description
attaching screenshot showing:
problem: scope resized to negative height (before)
patch result: scopes limited to 20px height (after)
attaching patch with possible fix
BUT the patch has a strange side effect: the 4th panel 'sample line' initializes with only 20px height,
as opposed to the others that init with 100.
it's the same template as histogram, so maybe something is (undesirably) interconnected?
further research needed.
r34029 @ linux64, system python 3.1.2
Followup
Message
Date
: 2011-01-03 23:09
Sender
:
Thomas Dinges
Ton, your commit 34046 doesnt fixe the starting size of Sample Line.It is still small.
Date
: 2011-01-04 04:56
Sender
:
Xavier Thomas
I will look into it. I think I already fixed this but maybe it was in a patch that did not went into trunk (updating scope in a background job).
Date
: 2011-01-04 05:22
Sender
:
Xavier Thomas
In fact current trunk code is ok. If you create a new uv/imge editor then it is initialized with a height of 100. However opening the default startup .blend which have a scope height of 0 will result in a height of 20.
I am not sure if the best way to correct this is in readifle.c (line 4934) by forcing the height to 100 if the saved file had a height inferior, or by recreating a startup blend file.
Date
: 2011-01-04 05:57
Sender
:
Xavier Thomas
I realized that do version is a much better place. I committed a fix in r34052.
Attached Files:
Name
Date
Download
svn_diff_interface_templates.c
2011-01-03 11:48
Download
img-ed-scopes.png
2011-01-03 11:48
Download
Changes:
Field
Old Value
Date
By
status_id
Open
2011-01-04 05:57
xat
close_date
None
2011-01-04 05:57
xat
assigned_to
lmg
2011-01-04 05:57
xat
Status
Reopened
2011-01-04 05:57
xat
status_id
Closed
2011-01-03 23:09
dingto
close_date
2011-01-03 13:13
2011-01-03 23:09
dingto
Status
Fixed / Closed
2011-01-03 23:09
dingto
status_id
Open
2011-01-03 13:13
ton
close_date
None
2011-01-03 13:13
ton
assigned_to
none
2011-01-03 13:13
ton
Status
New
2011-01-03 13:13
ton
File Added
14351: img-ed-scopes.png
2011-01-03 11:48
lmg
File Added
14352: svn_diff_interface_templates.c
2011-01-03 11:48
lmg