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
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-11-09Improvements on CURVE_OT_select_similar: SIMCURHAND_DIRECTIONHabib Gahbiche
Consider rotation and scale when calculating direction in world space. Reviewers: dfelinto Maniphest Tasks: T56948 Differential Revision: https://developer.blender.org/D3911
2018-11-07Cleanup: styleCampbell Barton
2018-11-07Multi-Objects: CURVE_OT_select_similarHabib Gahbiche
Implemented the following methods: * SIMCURHAND_TYPE * SIMCURHAND_RADIUS * SIMCURHAND_WEIGHT * SIMCURHAND_DIRECTION Limits: * DIRECTION does not support surfaces, because `BKE_nurb_bpoint_calc_normal` does not work with Nurbs of type `CU_CARDINAL`. This also didn't work prior to this patch, so we wait until surfaces are properly supported in EditMode. * Also DIRECTION should take scaling into consideration. We need our own versions of BKE_nurb_bpoint_calc_normal/bezt. * Threshold default is too large. Not sure if it's better to change the default or scale the threshold in code. Differential Revision: https://developer.blender.org/D3846 Changes from committer (Dalai Felinto): * Moved nurb_bpoint_direction_worldspace_get/bezt to functions. * Comments hinting at the mode (direction) that require scaling to be taken into account - to be addressed by patch creator in a future patch.
2018-11-06Cleanup: rename fast-heap -> heap-simpleCampbell Barton
In general prefer API names don't start with adjectives since it causes grouping of unrelated API's for completion.
2018-11-06Cleanup: move fast heap into own source & headerCampbell Barton
2018-11-05BLI_heap: implement a limited but faster version of heap.Alexander Gavrilov
If the user only needs insertion and removal from top, there is no need to allocate and manage separate HeapNode objects: the data can be stored directly in the main tree array. This measured a 24% FPS increase on a ~50% heap-heavy workload. Reviewers: brecht Differential Revision: https://developer.blender.org/D3898
2018-11-02Multi-Object-Mode: Edit curve draw (deselect all)Campbell Barton
D3887 by @zazizizou
2018-10-30Multi-Objects: CURVE_OT_de_select_lastHabib Gahbiche
Reviewers: dfelinto https://developer.blender.org/D3841
2018-10-30Multi-Objects: CURVE_OT_de_select_firstHabib Gahbiche
Reviewers: dfelinto https://developer.blender.org/D3839
2018-10-30Multi-Objects: CURVE_OT_select_nthDalai Felinto
Based on D3407 by Daniel Griffin.
2018-10-29Multi-Object EditMode: curve select next/prevCampbell Barton
D3842 & D3843 by @zazizizou
2018-10-29Multi-Object EditMode: curve select more/lessCampbell Barton
D3844 by @zazizizou with support for select-less
2018-10-27Multi-Objects: Curve - select pick, linked and short pathDalai Felinto
I'm following mesh editing to decide when to switch active object, or deselect the other objects. I hope we can keep this all consistent in the end.
2018-09-25Curves: Move draw options to overlaysClément Foucault
This commit add one regression: it is impossible to currently hide handles in the viewport. But this should be fixed in another commit.
2018-08-143D View boarder/lasso select tool optionsCampbell Barton
Add tool options to control how select operates (add/sub/set/and/xor). Note: edit mode armature select still needs to support all options, this is complicated by how it handles partial end-point selection.
2018-06-13Tag object/scene for selection update from operatorsSergey Sharybin
Before that depsgraph tagging was done from inside notifier listener in viewport. This had the following issues: - If there are no viewports, selection tag was not done. Causing possible issues when object becomes visible. - Required special trickery to detect which data to tag for update. - Was causing crash when transforming/selecting markers in clip editor. This is because selecting marker needed to poke viewport to redraw, since selected bundles will be displayed differently in viewport.
2018-05-23Multi-Object-Mode: EditCurve Select LinkedCampbell Barton
D3409 by @dgriffin91
2018-05-22Multi-Object-Mode: EditCurve Select RandomCampbell Barton
D3405 by @dgriffin91
2018-05-17Multi-Object-Mode: EditCuve Select AllCampbell Barton
D3381 by @dgriffin91
2018-05-03Cleanup: fix warnings, removed unused code.Brecht Van Lommel
2018-03-08Cleanup: Rename view3d context set functionCampbell Barton
Use common prefix so adding related functions share the prefix.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2016-07-22use bool consistently, fix redundant conditionalMike Erwin
Redundant conditional (line 939) found with PVS-Studio T48917 There’s still a lot of true/false, 1/0, SELECT/DESELECT usage nearby. Not a problem, just confusing to read.
2016-03-28Fix T47969: Select Random always uses same seedCampbell Barton
Increment the seed on each use, otherwise calling again selects the same order, unless you manually adjust the seed.
2015-12-27WM: add checker_interval utility functionsCampbell Barton
2015-10-10Random Select Seed OptionCampbell Barton
Add 'Seed' option for all random select operators D1508 by @mba105, w/ edits
2015-09-04Partial revert of warning cleanupCampbell Barton
These warnings are false-positives
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-08-03Fix own mistake in curve refactorCampbell Barton
2015-07-25Cleanup: double-promotion warningsCampbell Barton
2015-07-09Select Shortest Path for edit-curveCampbell Barton
D1391 by @pink.vertex with own fixes/edits
2015-07-09Curve selection, de-duplicate & cleanupCampbell Barton
2015-07-08Select Similar for edit-curveCampbell Barton
D1381 by @johnroper100 with edits
2015-07-08EditCurve: move selection into own fileCampbell Barton