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
2011-08-06rna/ui: avoid duplicate property gHash lookups by passing the property when ↵Campbell Barton
its already been found. added _prop suffix to ui functions which take a prop rather then a propname, may change this later since its not that nice but for gsoc branches this keeps existing UI functions working the same.
2011-08-06make ui_def_but_rna into 2 functions, once which takes a prop, another which ↵Campbell Barton
takes a propname, no functional change yet but lets us avoid duplicate hash lookups.
2011-08-06for UI text drawing use BLF_ascender(fs->uifont_id) rather then ↵Campbell Barton
BLF_height(fs->uifont_id, "2"), while profiling draw noticed that the hash lookup on the character and utf8 next were being called on every text draw, use BLF_ascender since it doesn't do any lookups.
2011-08-06KEYMAP REFACTORINGBrecht Van Lommel
Diff Keymaps User edited keymaps now no longer override the builtin keymaps entirely, but rather save only the difference and reapply those changes. This means they can stay better in sync when the builtin keymaps change. The diff/patch algorithm is not perfect, but better for the common case where only a few items are changed rather than entire keymaps The main weakness is that if a builtin keymap item changes, user modification of that item may need to be redone in some cases. Keymap Editor The most noticeable change here is that there is no longer an "Edit" button for keymaps, all are editable immediately, but a "Restore" buttons shows for keymaps and items that have been edited. Shortcuts for addons can also be edited in the keymap editor. Addons Addons now should only modify the new addon keyconfiguration, the keymap items there will be added to the builtin ones for handling events, and not get lost when starting new files. Example code of register/unregister: km = wm.keyconfigs.addon.keymaps.new("3D View", space_type="VIEW_3D") km.keymap_items.new('my.operator', 'ESC', 'PRESS') km = wm.keyconfigs.addon.keymaps["3D View"] km.keymap_items.remove(km.keymap_items["my.operator"]) Compatibility The changes made are not forward compatible, i.e. if you save user preferences with newer versions, older versions will not have key configuration changes that were made.
2011-08-05fix for icon scaling with the DPI settingCampbell Barton
- icons were scaling by the sqrt(dpi)/8.48528, but infact they only need to be scaled by (dpi/72). - UI_icon_get_width value was being used without multiplying by dpi scale.
2011-08-04Typo when reading line curving. The subversion is 1, so smaller than 1 ↵Jeroen Bakker
should be converted
2011-08-04UserPref/Node editor feature: Change the level of noodle curving.Jeroen Bakker
Some people like curved lines, other hate them. This commit will let the user change the level of curving. In UserPreferences=>Themes=>Node editor=>Noodle curving the level can be modified. Allowed range is 0-10 with the default on 5 The patch will default everything to the way blender works ATM. File subversion has been increased otherwise older 258 files got straight lines. The data is stored in the ThemeSpace.noodle_curving the bezierdrawing is done in the drawnode. Also tested the Line cut tool
2011-08-02Don't show NDOF guide by default.Nathan Letwory
2011-08-02svn merge -r38814:38905 ↵merwin-spacenavMike Erwin
https://svn.blender.org/svnroot/bf-blender/trunk/blender .
2011-07-31SVN maintenance.Guillermo S. Romero
2011-07-30quiet some compiler warnings & fix possible (but unlikely) crash.Campbell Barton
also added GPLv2+ header to resources.c.
2011-07-29svn merge -r38753:38813 ↵Nathan Letwory
https://svn.blender.org/svnroot/bf-blender/trunk/blender .
2011-07-28fix [#28096] Custom gradient for weightpainting in mask mode not working ↵Campbell Barton
properly.
2011-07-27svn merge -r38558:38752 ↵Nathan Letwory
https://svn.blender.org/svnroot/bf-blender/trunk/blender .
2011-07-27* Fixed a typo in the code (uiLayoutItemSplt -> uiLayoutItemSplit)Thomas Dinges
2011-07-26- bugfix for icon listview where the icons would only wrap onceCampbell Barton
- also quiet some clang warnings
2011-07-26include menu ID's in tooltips when python tips are enabled, there was no way ↵Campbell Barton
to find the ID of a menu which become annoying if you wanted to reference it from a script.
2011-07-25set default values for all other ndof flagsMike Erwin
2011-07-24* Minor code cleanup / comment changing. No functional changes. Thomas Dinges
2011-07-24Default for ndof_sensitivity to 1.0 in case 0.0 is found on start.Nathan Letwory
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-07Fix part of #26811: absolute shape keys should not show influence value in list.Brecht Van Lommel
2011-07-04Fix #27850: keyboards with a comma instead of a dot on the numpad now getBrecht Van Lommel
converted to a dot when typing into number buttons, for easier number entry.
2011-07-03changed the max decimal points to show from 7 to 6, since with float ↵Campbell Barton
precision problems the median point of a selection could be 0.0000003
2011-06-30Todo item:Ton Roosendaal
Closed regions didn't always draw the (+) icon right place, confusing for users. Next to that, I think this icon is using a bad metaphor or visual language, Illustrated best if you close a header in outliner or buttons. Icons are UI widgets, for screen/editor layouts different controls can be stylized. My preference is something that aligns visually to the seperators between regions; for testing and hacking pleasure I've added two quick versions, a small tabbish thing and a triangle. Enable these with debug menu, ALT+CTRL+D, values 1 or 2. This is simply drawn with opengl now. An image for it can be made as well. Previews: http://www.blender.org/bf/closed_regions1.png http://www.blender.org/bf/closed_regions2.png http://www.blender.org/bf/closed_regions3.png There's other design ideas to explore as well, like making region deviders 8-10 pixels wide, with a 'drag me' dot on it or so. That takes some screen estate though, and will require to add big editor-dividers too... Fun stuff for the mockup-mafia to check on, we have time :)
2011-06-24First commit to make "Style" settings saved in startup.blendTon Roosendaal
Usage currently is limited to: - Panel text, widget text and label text style: point size, shadow effects Setting individual fonts to these is not possible yet, it uses the default for it. Access goes via outliner now; check "User Preferences". UI team could add this in userpref scripts :)
2011-06-18use ascii drawing function where utf8 isnt needed.Campbell Barton
2011-06-17fix [#26621] Memory leaks when creating popup window.Campbell Barton
also fixes memory leak when cancelling a popup dialog (new image for example).
2011-06-16use directory selector for properties defined as PROP_DIRPATH, user ↵Campbell Barton
preferences 'File' buttons for eg.
2011-06-16fix for own error in r37542Campbell Barton
2011-06-16fix [#27673] Value sliders >1 do not represent numerical ratios rightCampbell Barton
the soft limits for array buttons not take into account the min/max of all array elements
2011-06-16minor speedup for UI draw code, noticed ui_get_but_val() could be called 3-5 ↵Campbell Barton
times per button draw, for RNA buttons this gets the entire array for each call so its not great to call many times.
2011-06-15Committing patch #25676 Anisotropic filtering in viewport and BGE by me.Mitchell Stokes
This patch adds anisotropic filtering of textures in the viewport and the BGE. The quality of the filtering is adjustable in the user preferences under System. For more information on anisotropic filtering: http://en.wikipedia.org/wiki/Anisotropic_filtering One current limitation of this setup (having the option a user preference) is it makes runtimes more troublesome. Runtimes don't have user preferences set, so for now the blender player defaults to 2x AF. Options will be added later to change this value (probably a command line option).
2011-06-14RGB curve widget follows user preference DPI now too.Ton Roosendaal
2011-06-14revert own fix for [#27648], looks like this needs to work differently to be ↵Campbell Barton
fixed.
2011-06-14fix [#27648] Weird shading behind grayed out negate checkboxCampbell Barton
2011-06-11Bugfix #27138Ton Roosendaal
Theme color fix for button type "Value slider". On text editing mode, the selected part of the text was invisible.
2011-06-09replace log() calls with constantsCampbell Barton
2011-06-09use a better method for finding the precision to use for float buttons, ↵Campbell Barton
about 4x faster to calculate and will show for eg, 0.0108 rather than 0.01, but 0.0100001 still displays as 0.01.
2011-06-07fix for glitch in previous commit with 0.00002 displaying as 0.000020, this ↵Campbell Barton
uses 2 calls to double_round which I'd rather avoid but at least it now works right for users.
2011-06-07smarter precision calculation, so 0.000001 isn't displayed as 0.00.Campbell Barton
there is a minor problem with this commit: 0.00001 --> 0.00001 # good 0.000015 --> 0.000015 # good 0.0000199 --> 0.00002 # ok 0.00002 --> 0.000020 # wrong, has trailing 0 Tried to fix this but the case is hard to check for without more calculations which Id like to avoid.
2011-06-07Move UI float precission calculation into its own function.Campbell Barton
2011-06-06Added cancel callbacks to modal operators which allocates memorySergey Sharybin
in invoke callback. This prevents unfreed memory blocks when quiting Bledner with modal operator running.
2011-06-06use the same stippled drawing for colorband background as alpha color ↵Campbell Barton
swatches, with low DPI would look squashed, also use the same colors for both.
2011-06-06Resolve 2 theme issuesCampbell Barton
[#27056] default active and selected colors need to be visually different [#27584] Please change sharpness/seam color
2011-06-05operator buttons get a red highlight when alert is set for the layoutCampbell Barton
2011-06-05colorband and image header were ignoring DPI sizeCampbell Barton
2011-06-05panel headers were not scaling with DPI properlyCampbell Barton
2011-06-05compile without splash and icons when WITH_HEADLESS is set.Campbell Barton
2011-06-04Code holiday commit:Ton Roosendaal
- fix: user pref, window title was reset to 'Blender' on tab usage - Undo history menu back: - name "Undo History" - hotkey alt+ctrl+z (alt+apple+z for mac) - works like 2.4x, only for global undo, editmode and particle edit. - Menu scroll - for small windows or screens, popup menus now allow to display all items, using internal scrolling - works with a timer, scrolling 10 items per second when mouse is over the top or bottom arrow - if menu is too big to display, it now draws to top or bottom, based on largest available space. - also works for hotkey driven pop up menus. - User pref "DPI" follows widget/layout size - widgets & headers now become bigger and smaller, to match 'dpi' font sizes. Works well to match UI to monitor size. - note that icons can get fuzzy, we need better mipmaps for it