Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-27Fix #35802: searchbox menu not opening when opened from a popup near the bottomBrecht Van Lommel
of the window.
2013-06-26Fix #35880: popup menus like F6 redo did not use the right theme color forBrecht Van Lommel
highlighted text, it should use the UI instead of 3D view color.
2013-06-19fix for filesel autocomplete, it had the annoying behavior if you entered in ↵Campbell Barton
a non-existing name, of executing it and then asking to add the dir.
2013-06-13internal change to searchbox: store the active search index rather then ↵Campbell Barton
index + 1, simplifies checks.
2013-06-09Code cleanup: removed some unused UI button typesBrecht Van Lommel
* CHARTAB: not needed anymore with improved copy/paste support and text input. * IDPOIN: replaced by SEARCH_MENU. * ICONROW/ICONTEXTROW: replaced by RNA enums. * NUMABS: can use min/max limits instead. * BUT_TOGDUAL, TOG3, TOGR, SLI: not used in 2.5 interface.
2013-06-09This commit replaces old "manual" Editors menu with nice RNA-based one (so ↵Bastien Montagne
once again, some cleanup of old UI code). It makes the following changes: * RNA's editor types enum (space_type_items) has been re-ordered, added icons, and removed internal-only SPACE_EMPTY value, so that it matches the menu. * Two fixes in code drawing enums as dropdown menu: ** All items were taken into account when computing the number of needed columns, now simple separators (void string items) are ignored. ** Simple separators items were drawn as labels, taking far too much space! And now translators will be free from that ugly, insane menu-string! :P Thanks to Brecht for the review.
2013-06-01add popup menu to allow python scripts to show popups without having to ↵Campbell Barton
define a menu class first.
2013-05-13Fix #35342: multisample antialiasing makes tooltips look blurry.Brecht Van Lommel
2013-05-12Fix for [#35224] Transform Orientation - order inconsistencyBastien Montagne
Fix turned out to remove as much "manual UI" from 3D view header as possible. Mode selector and all transform manipulators/orientations stuff are now RNA-based UI (leaving basically only edit mesh select modes with custom handlers, as they have some quite specific features). To achieve this, four main modifications were done: * enum-operator-generated menus are now MENU (i.e. dropdown lists) in headers too. * All bit-flag enums expanded in ROW buttons now have a handling consistent with e.g. layers, or what we already have for transform manipulators, i.e. clicking select only one element, shift-click to select multiple ones. * Consequently, the three RNA booleans manipulators flags are merged into a single bit-flag enum (yes, this is also an API change, though I doubt many scripts use it). * Now the width of enum-based dropdown lists is computed from longest item name in enum, no more from a dummy place holder string (when no label/name is given). All this allows to remove some code from 3DView/transform areas, that was actually mostly duplicating RNA/operator one. Also done a few optimizations here and there (among others, do not pass &numitems to RNA_property_enum_items() when you do not need it, saves at least an iteration over enum items to count them). Many thanks to Brecht for the reviews!
2013-05-11Bug fix #35307Ton Roosendaal
Popup menus in nodes, with nodes outside window boundary, were clipped very badly, even causing it to fill entire window. Now the clip code nicely translates the menu horizontally to be in view.
2013-05-02fix [#35178] Autoselect-in-list for Vertex Group selection doesn't work.Campbell Barton
disallow assigning values that don't exist into a text field with a search-box.
2013-04-23fix [#35055] Crash in Edit Source feature for multilevel menusCampbell Barton
dont show the option when operating on a menu since its not supported.
2013-04-23fix for UI annoyance with popups (such as new image popup) opening their ↵Campbell Barton
menus to the right of the button.
2013-04-18Fix for #35015, Alpha input in color selectors was showing 0 precision. ↵Lukas Toenne
Probably caused by r55910. The NUMSLI button now needs either -1 or an explicit precision value in a2.
2013-04-08Fix #34875: 0 digits of precision was not supported for FloatProperty, nowBrecht Van Lommel
you can specify precision=0 for this, and use -1 for the default 2.
2013-04-04code cleanup: use bools in interface handlers, dont show translation menu ↵Campbell Barton
when right clicking on splash, use less confusing args for copy/paste function.
2013-04-04code cleanup: use bools, (float)sin/(float)cos -> sinf/cosf, more meaningful ↵Campbell Barton
var names.
2013-04-04code cleanup: use bools in UI and WM code, quiet some shadow warnings, ↵Campbell Barton
remove unused function uiEmboss()
2013-03-16code cleanup: quiet some -Wshadow warnings, mix of obvious mistakes and ↵Campbell Barton
harmless global/local naming conflict.
2013-02-19Fix #34315: memory leak cancelling move to layer operator, after change to makeBrecht Van Lommel
it not execute immediately when opening the popup.
2013-02-17Another huge bunch of UI translation fixes, mostly reported by Leon Cheung, ↵Bastien Montagne
Sv.Lockal, Gabriel Gazzán and Satoshi Yamasaki, thanks!
2013-02-07fix for annoyance where header menus would get scroller arrows added because ↵Campbell Barton
it would be clamped within the screen a few pixels. This was caused from using theme shadow setting to clip the popups and a hard-coded value to translate the popup within screen bounds - these values should be the same.
2013-02-01code cleanup: make wmEvent's 'const' in interface code (reduces manual ↵Campbell Barton
checking that they are not modified).
2013-01-16code cleanup:Campbell Barton
- cycles ui used 'cscene' for scene.cycles and scene.cycles_curves - style cleanup
2013-01-09Usability fix: Ton Roosendaal
Blender's data link button (typically with menu and searching options) now has a X icon to clear its contents. Before you had to click, delete text, enter. For example: - Object Parent - Modifier objects or vertexgroups This fix saves each user 100 clicks per day, with 100k users that's 3 billion clicks per year!
2013-01-01Further trackpad work:Ton Roosendaal
When trackpad swipes don't convert to ScrollWheel steps anymore, several hardcoded wheel events need to support swipe too. This adds swipe support to: - Menu item scroll - Search item scroll - ALT + number/slider/swatch values The amount of old style scroll "clicks" is calculated based on how trackad is being mapped to move a mouse pointer. Move it one widget unit = 1 click. The swatch option applies trackpad swipe motion in analog way.
2012-12-30style cleanup: casts, some casts had odd formatting, but very few. Style ↵Campbell Barton
checker script detects this now so easy to detect this if new code is added that doesnt follow blenders style.
2012-12-26Bug fix #33633 (and irc report)Ton Roosendaal
The function ui_popup_block_clip() didn't correct the buttons if a clip happened, causing the items to draw outside.
2012-12-20UI todo:Ton Roosendaal
- Recoded soft shadow drawing for menus, giving better predictable results (and round off nicer on top side, was looking bad still) - Brought it under DPI control - Added Theme setting to control size and strength for it. Max size 24 pix: http://wiki.blender.org/index.php/File:MenuShadow.png
2012-12-18make sure color picker and color swatch buttons have rnaindex of -1.Campbell Barton
Some were 0 some -1, but this messed up reporting - making it think that only red was being changed for each button.
2012-12-18changing RNA properties now prints python script in the info view.Campbell Barton
next will add context so bpy.data.xxx[id] are not used for all references.
2012-12-16Bugfix #33458Ton Roosendaal
Tooltips in Blender were not scaling when zooming in/out on UI elements. (They did follow DPI though, but tooltips were in a 'global' fixed size). Error was that for tooltips on large scaled popups (like in Node editor) the drawing was entirely wrong even. Now tooltips scale correctly, also for fonts.
2012-12-15style cleanup: stop the style checker script from complaining about '!*ptr'Campbell Barton
2012-12-13minor editsCampbell Barton
- add BLENDER_QUIT_FILE define. - use const for passing rcti's in widget drawing.
2012-12-12Holiday coding log :)Ton Roosendaal
Nice formatted version (pictures soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability Short list of main changes: - Transparent region option (over main region), added code to blend in/out such panels. - Min size window now 640 x 480 - Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake. - Macbook retina support, use command line --no-native-pixels to disable it - Timeline Marker label was drawing wrong - Trackpad and magic mouse: supports zoom (hold ctrl) - Fix for splash position: removed ghost function and made window size update after creation immediate - Fast undo buffer save now adds UI as well. Could be checked for regular file save even... Quit.blend and temp file saving use this now. - Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)" - New Userpref option "Keep Session" - this always saves quit.blend, and loads on start. This allows keeping UI and data without actual saves, until you actually save. When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header) - Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v). Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards. - User preferences (themes, keymaps, user settings) now can be saved as a separate file. Old option is called "Save Startup File" the new one "Save User Settings". To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still. - OSX: fixed bug that stopped giving mouse events outside window. This also fixes "Continuous Grab" for OSX. (error since 2009)
2012-12-11use const char for display deviceCampbell Barton
2012-12-02There was no way of knowing what ID type a property comes from by the ↵Campbell Barton
tooltip, (since copying the Data-Path doesn't include the ID the user had to guess). Now include the full python path to the property in the tool-tip.
2012-12-02change uiButGetStrInfo() to use a trailing NULL arg rather then passing the ↵Campbell Barton
number of args as an arg.
2012-11-26search box width's now scale with DPI setting.Campbell Barton
was checking on: [#33294] too small place for material names this helps in some cases but doesn't resolve issue with very long names.
2012-11-18style cleanup: if's on the same line.Campbell Barton
2012-11-08Bugfix #29072 (Color pickers don't close properly when moving the mouse away)Ton Roosendaal
This rewinds the fix for revision 50483. - the removed code there (as comment said) closes menus on hoovering over another button in panels. Is unfinished feature to allow quick inspecting menus by mouse-hold going over menu popup buttons. - It added yet another check for closing menus - should be done with ->saferct - The actual bug was simple; the block flag with UI_BLOCK_MOVEMOUSE_QUIT was accidentally cleared for colorpickers.
2012-10-31Fix #31482: menu with scrollers when window is too small, didn't auto scrollBrecht Van Lommel
when using the arrow keys or mouse wheel to activate the next item.
2012-10-31style cleanup and correct own invalid comment.Campbell Barton
2012-10-31UI: fix for menu scrolling when window is too small. It was not working wellBrecht Van Lommel
with arbitrary button layouts like multi column menus, because it was making assumptions about position of previous/next buttons which doesn't work in general.
2012-10-27use min/max inline functions where MIN2/MAX2 were doing type conversion.Campbell Barton
2012-10-26fix [#30087] operator_context is different for popup and submenu's *TODO, ↵Campbell Barton
after 2.62* having context different for menu vs submenu is quite confusing, now they are both: WM_OP_INVOKE_REGION_WIN this changes WM_menu_invoke behavior.
2012-10-26style cleanupCampbell Barton
2012-10-25fix [#32938] The Splash Screen doesn't show up correctly .....Campbell Barton
applying window clipping to the splash on startup gave strange/annoying problems.
2012-10-25Fix #30940: layout.prop_search() item not drawing correct inside menus.Brecht Van Lommel
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii