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-21fix for out of bounds array access for shaded drawing in the UI, remove ↵Campbell Barton
alpha blending for uiDrawBoxShade and uiDrawBoxVerticalShade.
2011-08-19warning cleanup for -Wdouble-promotionCampbell Barton
2011-08-19store a pointer to the units system in the uiBlock since the button code was ↵Campbell Barton
doing context lookups for the scene quite a lot.
2011-08-18misc changes to unterface & undoCampbell Barton
- operator strings were doing undo pushes (in fileselector text for example), this is dumb since the operators themselves handle undo. - interface code checks rna props are arrays rather then checking the array length. - disable properties window pin undoing. - sequencer refresh was calling undo, disable since this is clearnign global data not handled by undo. - added commented out code for drawing mesh vertex index/key index, useful for debugging shapekey - hook issyes.
2011-08-18disable undo for screen & wm RNA buttons, changing shading mode via the UI ↵Campbell Barton
for eg was doing an undo push.
2011-08-17fix for error calling RNA_property_float_get_index on non array float ↵Campbell Barton
rotations when displaying.
2011-08-15comment unused lines.Campbell Barton
2011-08-14fix for fix r39388, this added checkboxes to buttons which are not supposed ↵Campbell Barton
to have them. now only add checkboxes when the background is not emboss - which works for menus but will work in more general cases too.
2011-08-14add in asserts for when array/non array RNA funcions are used incorrectly, ↵Campbell Barton
would have made previous fix a lot easier to find. also remove unused argument from RNA_property_array_check.
2011-08-14fix [#28245] Checkboxes in menu items fail for boolean arrays.Campbell Barton
2 bugs with displaying boolean arrays.
2011-08-11use ghash for operator and menu types, was doing string lookup in the ↵Campbell Barton
operator list (containing over 1000 items) for each button draw. gives small speedup for UI drawing and overall startup time.
2011-08-11fix for regression for shape key UI, values are now editable again in the ↵Campbell Barton
list, double checked this works for mesh/curve and lattice types.
2011-08-08fix [#28183] Wavefront OBJ import has no preset savingCampbell Barton
2011-08-08quiet harmless py resource warning - file opened but not closed.Campbell Barton
2011-08-08fix [#28178] make single user copy of object data doesn't workCampbell Barton
2011-08-07Changed do_version condition for noodle_curving.Sergey Sharybin
It should be re-set to 5 for files saved in 2.58.1 release.
2011-08-07comment unused varsCampbell Barton
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).