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
2019-01-20Cleanup: remove all BLI_utiledefines' ugly vectorial macros.Bastien Montagne
Not only were those often making doublons with already existing BLI_math's stuff, but they were also used to hide implicit type conversions... As usual this adds some more exotic inlined vector functions (one of the rare cases where I really miss C++ and its templates... ;) ).
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-04Fix T60132: Convert hair particles to meshSergey Sharybin
Needed to port operator to use evaluated particle system. But also changed interface to always show Convert button when draw type is set to Path (Hair particle system is forced to be draws as path). This avoid rather expensive lookup on every redraw, but will show Convert button for un-baked particle emitter. Probably, an acceptable compromise.
2018-12-21Fix T57907: Crash with hair when switching between object and edit modeSergey Sharybin
Was only visible after going in and out (with some strokes inbetween) hair edit mode. The edit structure was never freed during Blender session for some reason. Now we free those when leaving particle edit mode.
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-12-01Fix more cases of evaluated mesh being built for non-COW objects.Alexander Gavrilov
2018-11-16Fix T57477: Switching between edit mode, and particle edit mode crashesSergey Sharybin
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-10-25WM: space, region type filtering for paint cursorCampbell Barton
Avoids calling poll on mouse-move for unrelated space/region types.
2018-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-09-20Cleanup: renaming missed from mergeCampbell Barton
2018-09-20Cleanup: rename 3D view ray calculation functionsCampbell Barton
Using near far and optionally clipping planes is involved and not needed in many cases. Rename so a simpler version of this function can be added.
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-08-29Merge branch 'master' into blender2.8Campbell Barton
2018-08-23Rename: *_batch_cache_dirty > *_batch_cache_dirty_tagDalai Felinto
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-08-14Cleanup: missed const change in recent mergeCampbell Barton
2018-08-14Merge branch 'master' into blender2.8Campbell Barton
2018-08-14Cleanup: use boolean argumentCampbell Barton
2018-08-14Merge branch 'master' into blender2.8Campbell Barton
2018-08-14Cleanup: use braces w/ particle loop macrosCampbell Barton
2018-08-14Merge branch 'master' into blender2.8Campbell Barton
2018-08-14Cleanup: styleCampbell Barton
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton
2018-07-05Cleanup: Undefined function declarationsSergey Sharybin
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-28Cleanup: Nuke DM out of particle edit code.Bastien Montagne
Note that this commit also fixes serious memory leaks, temp Mesh generated out of Main from the DM were never freed here!
2018-06-28GLRefactor: partially remove gl calls from source/blender/editors.Ray Molenkamp
This translates the gl calls to the new GPU_ wrappers from D3501. Given it's tedious and repetitive work, this patch does as much as it can with search + replace, the remainder of the gl calls will need to be manually dealt with on a case by case basis. This fixes 13 of the 28 failing editors when building without opengl. For the list of substitutions see D3502 Reviewers: brecht Differential Revision: https://developer.blender.org/D3502
2018-06-21Cleanup: get rid of dual DM/Mesh versions of mirror topology code.Bastien Montagne
Easy to switch to only use (evaluated) mesh instead!
2018-06-20Cleanup: get rid of last BLI_frand usage.Bastien Montagne
2018-06-19Particles: Support changing modifiers during particle edit modeSergey Sharybin
The idea is to only use pointers to particles in original object when creating an edit structure. The derived mesh we get from evaluated object. The rest of the commit is just keeping pointers in sync.
2018-06-18Avoid assert on startupCampbell Barton
2018-06-18Particle: Add missing field initializaitonSergey Sharybin
2018-06-15Hair editing: Use original object's particles for drawingSergey Sharybin
This allows to rely on brush to update children positions, and avoid tag of object. Makes it way faster to comb with children enabled.
2018-06-15Hair editing: Multi-thread various partsSergey Sharybin
Currently focused on making parts which are a bottleneck for Spring, to make things fast as possible. There are surely lots of places where threading is not currently done, but we can keep doing this, maybe even with help from the community :)
2018-06-15Hair editing: Only tag Copy-on-Write when children are enabledSergey Sharybin
Without children we only need to update batch cache. This way we don't re-evaluate the whole modifier stack just to perform child particles redistribution.
2018-06-13Merge branch 'master' into blender2.8Campbell Barton
2018-06-13WM: check release event for particle edit modeCampbell Barton
Caused by drag event.
2018-06-13Cleanup: unused varCampbell Barton
2018-06-13Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_pointcache.h source/blender/blenkernel/intern/object.c source/blender/blenkernel/intern/pointcache.c source/blender/editors/include/ED_particle.h source/blender/editors/physics/particle_edit.c source/blender/editors/physics/particle_edit_undo.c source/blender/editors/physics/particle_object.c source/blender/editors/physics/physics_intern.h source/blender/editors/physics/physics_pointcache.c source/blender/editors/space_time/space_time.c source/blender/editors/space_view3d/drawobject.c source/blender/editors/space_view3d/view3d_edit.c source/blender/editors/transform/transform_conversions.c source/blender/editors/transform/transform_generics.c source/blender/editors/transform/transform_manipulator.c source/blender/makesrna/intern/rna_object.c source/blender/makesrna/intern/rna_object_force.c source/blender/makesrna/intern/rna_sculpt_paint.c source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-13Cleanup: moar ugly G.main removal...Bastien Montagne
Note that due to RNA get/setters issue, that one may actually add some G.main usages to the total... But at least it's not hidden anymore in a very low-level, dark corner of BKE pointcache code!
2018-06-07Particle edit: Simplify code by benefiting from single edit contextSergey Sharybin
Makes ADD brush to work. At some point children particles draw got broken, children are not visible for until first stroke is done. Still looking into it.
2018-06-06Fix crash when file is saved in particle edit modeSergey Sharybin
Depsgraph is not available on file load yet.