Age | Commit message (Collapse) | Author |
|
Issue, after a lot of blood sweat and tears, was found in
ui_but_update_from_old_block, where we restore a button to its old
values when possible. The problem here is that a1 and a2 are not really
meant to store temporary variables, because they tend to get overriden
and palette selection is one of those temporary states.
Instead, we now store the position of each button in the palette in a2
and pointer to the palette in the customdata pointer of each button and
use that to test if it's active. The positions won't change when
clicking so we are guaranteed that the old button won't override the new
one with garbage.
It's still hacky but it is better than testing button types when copying
old values.
|
|
Use indicator color derived from color luminance for better contrast.
|
|
* Remove some duplication in deletion code
* Fix crash when restoring file from last saved state.
|
|
Avoid having an invalid active index if user deletes a color.
Also attempt to set active color on clicking (Not working yet but fix
coming soon)
|
|
also didn't preview or select correctly.
|
|
|
|
Logic for load/reload was duplicated, Fix T28087 missed reload.
De-duplicate, also replace stat -> BLI_stat
|
|
Was using first vertex for depth (which could be anywhere),
now use the view-pivot.
was also copying uninitialized vector into knife_find_closest_* return values (confused debugging).
|
|
knife cursor depth could be projected behind the view with a wide angle lens.
|
|
NC_SCENE | ND_WORLD was not handled by buttons space...
|
|
Added a special notifier now NC_WM|ND_UNDO in order to deal with such cases
and now compositor/image will refresh when undo happens.
There are much more ways to fail compo to update the resul, like undoing
while it's not visible and so, but as mont29 said -- let's at least fix
obvious crap in the workflow.
|
|
|
|
|
|
|
|
- selecting a boundary edge would randomly point in/outside the face (now point away).
- selecting 3 verts would use the first selected edge as the tangent (now use longest).
- selecting 1 vert betweem edges, uses the edges to define the tangent.
|
|
|
|
also add operator to test blacklist
|
|
- clamp selection on entering editmode (Python may have changed).
- BKE_vfont_select_get no longer succeeds with an empty selection
this caused many operators to go ahead and operate on zero size array.
|
|
Nice little memleak!
Patch by reporter (randon (Dun Liang)) with minor own cleanup, thanks!
|
|
First one, reported by Sergey, was searchbox not closing when validating it (enter or LMB click)
without any active item (we need to enable escapecancel here, to close menu too).
Second one was SEARCH_MENU_UNLINK variant not unlinking at validation when no active item.
Thanks a bunch to Campbell for help here!
|
|
Usual same issue (unset property != set property to default value).
Review and minor edits by mont29 (Bastien Montagne).
|
|
|
|
|
|
|
|
2d & 3d cached text now draws pixel aligned now.
|
|
Tool-tips and header-text used a different pixel alignment from the rest of the UI.
This causes blurry text with multi-sample with NVidia.
Other text still needs the issue resolved (View3d info for eg)
|
|
Currently there are inconsistencies with pixel alignment.
but this commit has no functional changes.
- wmOrtho2_region_ui for UI/Text.
- wmOrtho2_region_pixelspace for 2D drawing.
- wmOrtho2_pixelspace - when the region isn't used.
|
|
|
|
For UI & operator toolbar this makes sense,
but for keymaps - hidden props can make an important difference.
|
|
|
|
Quick fix, this is actually a demonstration of why we should use modal keymaps!
We can give any event to *start* the op, but then hard-code how to *end* it... tsk.
|
|
|
|
|
|
Just check if verts are used in the face.
|
|
Move projection paint data ensure function to projective texture
painting. Also, cleanup draw data when generating a new image for
painting in image paint mode.
|
|
Blend brush color with texture before converting to srgb
|
|
|
|
|
|
* As always, make sure all slots of the object have a material
|
|
|
|
Refresh always when clicking on a palette color (state here may be same
as state of button, not causing a refresh as it should)
|
|
|
|
saved blend files.
This reverts rB52c06440d8e51c8661a679bcb33742666ce8dbf9 and rBe40d8258bb46926a1aecf51236822532397993f3
(tabname is old 2.4x tabed panels system, *not* new 2.7x tool tabs!).
Also disabled (#idef'ed) everything regarding tabname/tabed panels for now, we may even remove it completely,
would make things clearer imho.
Note files saved with 2.71.6 up till now would have two versions of some panels in store (with two different
values for their tabname), can give some order oddities in those cases, which have to be fixed by hand...
|
|
The problem was it used copied verts on the opposite side.
|
|
|
|
|
|
Now report the error and fail early.
|
|
|
|
Shortcut is ctrl click but might not be discoverable, as we found out
the hard way on gooseberry.
|
|
|