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
2016-06-13Fix glShadeModel being left flat in edit-mode drawCampbell Barton
2016-06-13Fix T48616: Auto-merge selects extra edgesCampbell Barton
Auto-merge caused all edges between selected vertices to be selected. This only makes sense in vertex-select-mode. Correct edge-flag merging code, which now merges flags from multiple edges.
2016-06-12Fix T48604: Crash on undo due to bad drawing code.Bastien Montagne
Short story: draw_lamp would add itself to delayed transp drawing list from 'xray' drawing step. This was broken, since delayed transp drawing list is always handled **before** delayed xray one. After undo it lead to segfault crash, v3d->afterdraw_transp still having reference to old freed scene's base. Also added asserts that those afterdraw list are empty at end of drawing step, should help avoiding that kind of issue in future.
2016-06-12bmesh py api: expose BM_face_calc_tangent_*Campbell Barton
D1988 by @wisaac, with own edits and improvements. This improves on existing tangent calculation functions too. - BM_face_calc_tangent_auto: Chooses method based on number of sides, used by manipulator (not exposed to Python). - BM_face_calc_tangent_edge: from longest edge. - BM_face_calc_tangent_edge_pair: from longest edge-pair (most useful with quads). - BM_face_calc_tangent_edge_diagonal: edge farthest from any vertex. - BM_face_calc_tangent_vert_diagonal: vert farthest from any vertex. Also optimize BM_vert_tri_calc_tangent_edge* functions to avoid sqrt.
2016-06-11Fix T48617: VSE: Do not draw backdrop in Seq + Preview mode, only makes ↵Bastien Montagne
sense when no preview is available...
2016-06-10VSE: select by group: add option to select by group on same channel only.Bastien Montagne
2016-06-10GPU: use basic-shader for line-stippleCampbell Barton
2016-06-10Remove redundant GL attribute push/popCampbell Barton
Stipple isnt left on during object drawing
2016-06-09GPU: avoid multiple bind calls in GPU_draw_pbvh_buffersCampbell Barton
Also add utility functions: GPU_basic_shader_bind_enable/disable so we don't have to get the previous state every time and manipulate it
2016-06-09Flat shading for basic shaderAlexander Romanov
The purpose of the patch is to replace deprecated glShadeModel. To decrease glShadeModel calls I've set GL_SMOOTH by default Reviewers: merwin, brecht Reviewed By: brecht Subscribers: blueprintrandom, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D1958
2016-06-08Fix armature stick draw, unpack-alignment was set but never restoredCampbell Barton
Drawing a single stick bone set the alignment to 1, applying this setting to the rest of Blender.
2016-06-08glutil: add glaGetOneInt helperCampbell Barton
2016-06-08GPU: fix texface image w/ basic-shaderCampbell Barton
2016-06-08Make uiLists placed in popups usableJulian Eisel
It's still not completely working - there are still some glitches - but far better than before. To make buttons of the uiList work, you have to add a 'check' callback to the operator that invokes the menu. Only if it returns True, the uiList gets refreshed. To avoid this we have to make the region refresh tagging in the entire button handling a bit smarter. Changes I had to do: * Call uiList handling from menu/popup handling if needed. * Make uiList handling use special popup refresh tag if placed in menu. * Allow popups invoked from py operator to tag for refresh by using operator 'check' callback. * Tag popup for refresh when resizing uiList. Mostly fixes T48612.
2016-06-08Cleanup: typoCampbell Barton
2016-06-08Cleanup: typosCampbell Barton
2016-06-083D Text: Use BLI_array_store for undo storageCampbell Barton
2016-06-083D Text: Store separate arrays for undo dataCampbell Barton
Don't store maximum length of text per undo step, or attempt to pack all data in a single array. Was storing 32766 characters per undo step, irrespective of actual text length.
2016-06-083D Text: move undo into its own fileCampbell Barton
2016-06-08BLI_array_store: move helper functions into their own APICampbell Barton
2016-06-07Fix T48600: VSE strip 'side selection' fails in 'Both' case.Bastien Montagne
Looks like a line was forgotten in the 'BOTH' case in code...
2016-06-07GPU: Fix for glDrawPixels drawing w/ glsl shaderCampbell Barton
The basic shader needs to be temporarily disabled in this case. Add macros for temp store/restoring the state.
2016-06-06Added P key toggle to allow mouse movement to control bevel profile (modal).Howard Trickey
The Shift key can be held while adjusting profile to make finer changes to the profile (just as it already does when adjusting offset).
2016-06-06Fix T48582: Rigidbody simulation issue with new depsgraphSergey Sharybin
Being granular means we need to re-build depsgraph a bit more often.. The issue was caused by rigidbody requiring some special nodes to handle physics which were not created with just tagging object for update.
2016-06-03changed use_connect from bool to a 3 state value (-1,0,1)Gaia Clary
2016-06-03Workaround MSVC errorCampbell Barton
2016-06-03Fix T48234: Glitch w/ action constraints sharing an actionCampbell Barton
FCurve evaluation depended on FCurve.curval, which isn't threadsafe. Now only use this value for debug display, and pass the value instead of storing in the FCurve for all but debug-display.
2016-06-03Make playback invoked form animation editors more usableSergey Sharybin
This covers the following workflow. Animator will disable Update All 3D views in order to get quick playback in a particular 3D editor. However, it also handy to see playback in all editors and image editors to see comparison of animation and reference footage. So the idea here is to refresh reasonable editors when playback is invoked from animation editors. Commit to make Hjalti happy.
2016-06-03Cleanup & simplify snapping functionsGermano Cavalcante
- the name of the enumerator `SNAP_NOT_OBEDIT` was changed to `SNAP_NOT_ACTIVE`. - the parameter `snap_to_flag` was moved to outside `SnapObjectParams`. - the member `use_object_edit` was renamed to `use_object_edit_cage`. - added the arg `params` in `ED_transform_snap_object_project_ray`. - simplifications in the loop of the function `snapObjectsRay`.
2016-06-03Fix possible uninitialized variable in snappingGermano Cavalcante
Introduced in 0b5a0d84, thanks to Brecht for spotting.
2016-06-02Fix T48456: 2x pixel size clamps min brush sizeCampbell Barton
Using double pixel size prevented 1px brushes D2044 by @jeske
2016-06-02Fix leak using UI_BTYPE_TEXT button w/o a callbackJulian Eisel
Moving ownership of the string to the button's 'rename_orig' leaked when the button didn't have a uiAfterFunc.
2016-06-02Fix T48566: Render-border minor offset issueCampbell Barton
2016-06-01Usual UI/i18n message cleanup (get rid of last remaining 'addon' too).Bastien Montagne
2016-06-01Fix/Workaround T48560: Color picker V fail w/ user defined RNACampbell Barton
Set the maximum soft-max to 1.0 when its left at FLT_MAX. Since this causes problems using the slider.
2016-05-31Fix T48554: Absolute grid snap fails w/ cursor pivotCampbell Barton
Use center of selection when using absolute grid snapping and cursor pivot.
2016-05-31Fix T48552: Ctrl-D to add drivers shows disabled menu itemsCampbell Barton
2016-05-30Editmesh undo memory optimizationCampbell Barton
Previously a whole mesh was stored between undo steps, This commit uses BLI_array_store to de-duplicate memory use between undo steps. Memory saving depends entirely on kinds of edits performed, in own tests 5x-15x less memory use is common. Compacting the memory does give some overhead however its done in a background thread so its not blocking in most cases. New behavior and threading can be ifdef'd out to check for regressions. See D2026 for details.
2016-05-29Fix T48507: Symmetrize doesn't work properly on Bendy BonesJoshua Leung
2016-05-29Fix: Flip logic order for autokeying checking to cope with files where the ↵Joshua Leung
flags have been set incorrectly Sometimes the autokeying flags don't get set correctly (i.e. the "mode" flags used for 'Add + Replace' vs 'Replace Only' aren't set), meaning that the old logic would always fall through to the "replace only" case. When this happens, the resulting behaviour can be quite strange and hard to debug. This fix prevents problems like this from continuing to be an issue...
2016-05-28Fix T48529: NLA : viewport not updated after Track muted/unmuted.Bastien Montagne
Not sure why, but ANIM_animdata_update() totally ignored NLAStrip type of bAnimListElem. For now only added support for ANIM_UPDATE_DEPS type of update, don't know whether others are needed in this case or not... time will say.
2016-05-28Fix T48534: color picker hex #RRGGBB input allows typing one character too many.Brecht Van Lommel
Fix suggested by Daniel Rivera.
2016-05-26fix: Import of meshes with holes is now reported as WARNING (unsupported)Gaia Clary
improved: add support for bone tail export/import using Blender Collada profile Differential Revision: https://developer.blender.org/D2031
2016-05-25Move editmesh undo into its own fileCampbell Barton
2016-05-24Sequencer's histogram view: OMP -> BLI_task.Bastien Montagne
New code using loop/finalize model is about 45% faster (from 4.4ms tp 2.4ms per frame, overall playback of single shot in sequencer in this preview mode goes from 40 to 45fps).
2016-05-22Use previous shading mode for border render in viewportSergey Sharybin
This way we can have border rendered part in the viewport and have everything else material/texture shaded.
2016-05-22Make Shift-Z in viewprot a toggle between current shading mode and rendered oneSergey Sharybin
This way it is now possible to toggle between material and rendered shading while previously rendered viewport will always go back to solid shading.
2016-05-22Fix T48476: 'Recalculate Bone to Cursor' failsCampbell Barton
2016-05-21Dynamicpaint: fix (unreported) missing progress bar in early baking stage.Bastien Montagne
Nothing was shown in UI during pre-bake step, while it can take several minutes to complete with heavy geometry.
2016-05-21GPencil: Add hotkeys for the "Delete Active Frame" operatorJoshua Leung
Usage: * D+X - Works anytime, anywhere * Shift-X - Works in EditMode only * Via Delete Menu - EditMode only Often doing video tutorials or perhaps during dailies/shot review you want to quickly get rid of a quick scribble you made for making a point, without having to undo (i.e. maybe you edited some objects in between) and/or without having to use the eraser (i.e. it'd take too long to cover the entire area).