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-09-15svn merge -r39834:40222 https://svn.blender.org/svnroot/bf-blender/trunk/blenderSergey Sharybin
2011-09-14move ED_object_pose_armature --> object_pose_armature_get to so we dont get ↵Campbell Barton
bad level calls in the weight paint branch.
2011-09-12fix for ntreeGPUMaterialNodes(), using uninitialized exec pointer.Campbell Barton
also commented some set-but-unused variables.
2011-09-11replace magic numbers for flags for uiSetRoundBox();Campbell Barton
2011-09-11simple changes to grid drawing logic.Campbell Barton
- make ortho grid drawing use vertex arrays - make perspective view floor drawing cache result of UI_ThemeColorShade so its not called on every line. - make perspective view floor only loop once on each axis when the grid floor isnt being drawn (was looking over all grid lines for no reason). - add UI_GetColorPtrShade3ubv() to replace UI_GetColorPtrBlendShade3ubv() when no blending is needed.
2011-09-10fix own mistake in recent commit, was using glIndexPointer incorrectly.Campbell Barton
2011-09-09use opengl vertex arrays for the base widgets, their rounded corners, arrows ↵Campbell Barton
and emboss. (note, this is from OpenGL 1.1 from 1992, nothing fancy), gives moderate speedup on my system when showing many buttons (10% - 15%).
2011-09-09error (case insensitive search replace)Campbell Barton
2011-09-09replace magic numbers with defines to make the interface source more readable.Campbell Barton
only functional change is the uiWidgetBase struct stored up to 64 verts, changed this to 36 since thats the most that is used atm, added assert if this ever changes.
2011-09-09- turn RNA_warning into a macro which includes the function name (was being ↵Campbell Barton
written in manually but had incorrect func names in places). - add __func__ define to BLI_utildefines.h for MSVC.
2011-09-05Fix #28404: certain keyboard shortcuts not shown in menus, e.g. move operatorsBrecht Van Lommel
in graph editor > channel menu. Problem was these did not inherit operator execution context correctly. Fix found by Sergey, also needed to fix logic operators which were not working when invoked instead of executed.
2011-09-05Fix #28389: UILayout.menu function didn't emboss menu button correct in theBrecht Van Lommel
3d view tools region.
2011-09-02Fix for grid lines drawing outside of histogram widget.Sergey Sharybin
2011-09-01merge with trunk r39834Xiao Xiangquan
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-29* Reverting Titlecard commit r37537Joerg Mueller
* Reverting update recent files commit r37155 * Turning reference counts into unsigned ints * Minor things
2011-08-28== Sequencer ==Peter Schlaile
This patch adds: * support for proxy building again (missing feature from Blender 2.49) additionally to the way, Blender 2.49 worked, you can select several strips at once and make Blender build proxies in the background (using the job system) Also a new thing: movie proxies are now build into AVI files, and the proxy system is moved into ImBuf-library, so that other parts of blender can also benefit from it. * Timecode support: to fix seeking issues with files, that have a) varying frame rates b) very large GOP lengths c) are broken inbetween d) use different time code tracks the proxy builder can now also build timecode indices, which are used (optionally) for seeking. For the first time, it is possible, to do frame exact seeking on all file types. * Support for different video-streams in one video file (can be selected in sequencer, other parts of blender can also use it, but UI has to be added accordingly) * IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since older versions don't support the pkt_pts field, that is essential for building timecode indices. Windows and Mac libs are already updated, Linux-users have to build their own ffmpeg verions until distros keep up.
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-08-25picky style edits with screen/view/drawing, also remove own bad example doc.Campbell Barton
2011-08-23Merging trunk up to r39637.Joerg Mueller
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-16Merging trunk up to r39447.Joerg Mueller
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-11svn merge -r39286:39298 ↵Campbell Barton
https://svn.blender.org/svnroot/bf-blender/trunk/blender, ensure some edits in trunk dont get merged back into pepper
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-11svn merge -r39145:39286 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
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-10merge with trunk r39216Xiao Xiangquan
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-07Merging trunk up to r39145.Joerg Mueller
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-06Graph Editor "Active Keyframe" settingsJoshua Leung
This commit makes some tweaks to the way that the "active keyframe" settings in the Properties region in the Graph Editor work (for the better, hopefully). Basically, the problem was that previously, these were clunky and non- intuitive to use, since they were just directly displaying the RNA properties for those keyframes for editing purposes. But due to limitations of RNA (i.e. from a RNA pointer to a keyframe, you couldn't see which F-Curve you came from), several things were impossible, notably: 1) Doing proper updates, including validating that the handles are in a valid state - that requires access to the F-Curve to provide to the F-Curve-based curve validity checking functions 2) Having the values of the keyframes display in whatever unit that the property the F-Curve affects displays as - for this, you once again need to know the F-Curve in order to resolve the property that it affects; also the fact that only a single unit could be set for RNA properties further limited things This commit basically gets around these problems by moving away from a layout-engine based approach to one where we attach custom update callbacks and also override the units of the y-co widgets when creating the widgets for these, thus allowing the buttons to work in the ways that animators expect.
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-04Bassam Feature Request: "Auto Clamped" handles can now be set perJoshua Leung
handle/key This used to be a weird per-curve setting which would happen to get applied/work correctly if handles were set to "auto", and was a source of constant confusion for both old and new animators. The main effect of this handle-type/option was really to just ensure that auto-handles stayed horizontal, instead of tilting as the keys were moved. This commit simply changes this from a per-curve to per keyframe/handle setting.
2011-08-04Typo when reading line curving. The subversion is 1, so smaller than 1 ↵Jeroen Bakker
should be converted