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
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton
2018-07-05Merge branch 'master' into blender2.8Campbell Barton
2018-07-05Cleanup: flag checksCampbell Barton
2018-07-05Cleanup: Undefined function declarationsSergey Sharybin
2018-07-03Keymap: Select/De-Select now use A, Alt-ACampbell Barton
There are still some keys to update because some operators only support toggle.
2018-07-02Keymap: add back X-Key for deleteCampbell Barton
This is needed as part of modeling work-flow, so keep it accessible.
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-29Fix T55645: broken particle Use Count option for instancing objects.Brecht Van Lommel
There is now a manual refresh button on the panel to update the list of objects in case it changes, and it also gets refreshed when changing the collection or toggling the use count option. This is a bit more manual but the previous code of refreshing the list while evaluating the depsgraph was unreliable. This also fixes it to take properly take into account visibility, and to work with linked collections for which index writing was missing.
2018-06-29Keymap: minimal default keymapCampbell Barton
Use 2.7x keymap preset for full keymap. Use define to allow further adjustments. See T55666.
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-28Prevent copying too much in the Rigid Body simulationSybren A. Stüvel
To prevent the pointcache from being copied-on-write too (and requiring copying back), the cache is now shared between the original and evaluated scenes. Reading from the cache is always allowed; running the sim and writing to the cache is only allowed when the depsgraph is active. Some pointers have moved from RigidBodyWorld (RBO) to RigidBodyWorldShared (RBOS). writefile.c copies some pointers back from RBOS to RBO so that the file can still be opened on older Blenders without crashing on a segfault. The RigidBodyWorldShared struct is written to the blend file, because it refers to the PointCache ID block. The RigidObjectShared struct is runtime-only, and thus not saved to the blend file. An RNA getter-function is used to hide the new 'shared' pointer. As a result the Python API hasn't changed. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D3508
2018-06-28Give RigidBodyWorld constraints collection a fake userSybren A. Stüvel
This prevents it from disappearing when the blend file is saved.
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-20Depsgraph: add some missing depsgraph tags when relations change.Brecht Van Lommel
2018-06-20Cleanup: get rid of last BLI_frand usage.Bastien Montagne
2018-06-19Remove rigid body from rbw->group when deletingSybren A. Stüvel
I moved some code from ED_rigidbody_object_remove() to BKE_rigidbody_remove_object(), so that calling the latter doesn't leave the object in rbw->group (causing a crash later on when rebuilding the depsgraph).
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-15Merge branch 'master' into blender2.8Bastien Montagne
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-15Cleanup: some more G.main removal/validation...Bastien Montagne
2018-06-14Give RigidBodyWorld collection a fake userSybren A. Stüvel
This prevents it from disappearing when the blend file is saved.
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-13Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/blendfile.c source/blender/blenkernel/intern/node.c source/blender/blenkernel/intern/particle.c
2018-06-13Cleanup: remove more G.main from BKE area.Bastien Montagne
2018-06-12Cleanup: moar removal of G.main in BKE area...Bastien Montagne
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
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.
2018-06-06Particle edit: Fix missing hair with new oarticle system addedSergey Sharybin
2018-06-05Moved function declarations from BKE_DerivedMesh.h to BKE_mesh_runtime.hSybren A. Stüvel
The function definitions still reside in DerivedMesh.c. Once we're done porting all the DerivedMesh use to Mesh, we'll move the still-relevant functions to mesh_runtime.c. This move is now cumbersome due to shared statically-declared utility functions in DerivedMesh.c
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Merge branch 'master' into blender2.8Campbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-05-31Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: intern/cycles/blender/blender_curves.cpp source/blender/blenkernel/BKE_particle.h source/blender/blenkernel/intern/modifier.c source/blender/blenkernel/intern/object_update.c source/blender/blenkernel/intern/particle_system.c source/blender/editors/object/object_modifier.c source/blender/editors/physics/physics_fluid.c source/blender/makesrna/intern/rna_particle.c source/blender/modifiers/intern/MOD_particlesystem.c
2018-05-31Cleanup: remove G.main from BKE modifier.Bastien Montagne
2018-05-31Cleanup: remove G.main from BKE objectBastien Montagne
Had to add some G.main to modifiers, but in 2.8 we do not need that anymore, so it's not that bad! ;)
2018-05-30Cleanup/fix wrong modifiers targets handling in COW context.Bastien Montagne
Modifiers stack only get COW/evaluated IDs, so no need to go auery again DEG for those. Further more, now unified handling of EditBMesh case (was done on case-by-case basis in a few modifiers, not all for some reason). We are still missing the ability to get final and cage deformed meshes when in Edit mode though, this is to be defined/implemented in depsgraph.