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
path: root/source
AgeCommit message (Collapse)Author
2019-09-14Cleanup: use const args, variablesCampbell Barton
2019-09-14Cleanup: undeclared variable warnings, extra semicolonCampbell Barton
2019-09-14Fix T69857: image.load() API function does not load pixelsBrecht Van Lommel
Broke after recent changes for DNA default initialization.
2019-09-14Revert "DRW: Refactor to support draw call batching"Clément Foucault
This reverts commit ce34a6b0d727bbde6ae373afa8ec6c42bc8980ce.
2019-09-13Fix (unreported) 'smooth vertex colors' operator not respecting vertexPhilipp Oeser
paint mask selection followup to rBr27bbe7cbd9b, might as well make this consistent across all the color operations [with the exception of 'Dirty Vertex Colors' which is python] Reviewers: brecht Differential Revision: https://developer.blender.org/D5786
2019-09-13Fix Particles: Keyed Physics crash when clicking on a particle slotPhilipp Oeser
without a valid target rB95b9680597f5 introduced code that would skip creation of GPUVertBuf for ParticlePointCache if the keyed physics would not have a valid target. Missing vertex buffer would lead to assert/crash. This code is now removed (dont see a reason why this was done? afaict 2.79 also just displayed the particles without physics in this case and this seems to be working just fine in 2.8 as well) part of T69741 Reviewers: fclem Maniphest Tasks: T69741 Differential Revision: https://developer.blender.org/D5781
2019-09-13Fixed macOS build, header cleanup was too agressive.Stefan Werner
2019-09-13Cleanup: unused headers for readfile, versioningCampbell Barton
2019-09-13Cleanup: unused headers for the windowmanagerCampbell Barton
2019-09-13UI: rename transform optionsCampbell Barton
When added to quick-favourites, these names are used which didn't make much sense out of the panel context.
2019-09-13Per-Viewport Collection VisibilityDalai Felinto
Support per-viewport collection visibility options. Note 1: There is no way to show a collection that was not visible before due to depsgraph. Otherwise we would risk having all the collections in the depsgraph and I believe this is not the idea. An alternative would be to have a new depsgraph for viewports that are not local. Something to keep in mind if we do per-viewport current frame in the future. So for now what we do is to only allow collections visibility to be disabled/hidden in this mode. Note 2: hide_viewport (the eye icon) doesn't really matter for depsgraph. So after the merge we can still ignore it to show the collections locally in a viewport with no problems for the depsgraph. Reviewers: brecht, sergey Subscribers: billreynish Related task: T61327 Differential Revision: https://developer.blender.org/D5611
2019-09-13DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-13Fix `BLI_bvhtree_overlap_ex` assertmano-wii
2019-09-13Fix "minimum twist" curve flipping issueSebastian Parborg
Correct the code to actually do what the comment says. This fixes an issue where the curve would flip 180 degrees under certain conditions.
2019-09-13Cleanup: compiler warningsBrecht Van Lommel
2019-09-13Fix T69816: Using Transform gizmos in Sculpt Mode while MultiRes is ↵Pablo Dobarro
activated crashes Blender Reviewed By: jbakker Maniphest Tasks: T69816 Differential Revision: https://developer.blender.org/D5779
2019-09-13Fix T69804: Transform tools in sculpt mode fails with transformed objectsPablo Dobarro
Reviewed By: mano-wii Maniphest Tasks: T69804 Differential Revision: https://developer.blender.org/D5777
2019-09-13Cleanup: unused headers (GPU)Campbell Barton
2019-09-13Fix T69846: Segment fault converting Curves to GPencil strokesAntonio Vazquez
The problem was when the material slot had something, but the material was NULL.
2019-09-13Fix T69829: Gpencil sample memory leaks.YimingWu
2019-09-13Fix vertex paint: color transform operators not respecting vertex paintPhilipp Oeser
mask selection for 'Invert', 'Levels', 'Hue saturation Value' and 'Bright/Contrast', face mask was respected, but vertex mask wasnt... Same code as done in 'Set Vertex Colors'. reported in T69835 Reviewers: brecht Maniphest Tasks: T69835 Differential Revision: https://developer.blender.org/D5783
2019-09-13Cleanup: Use bool instead of intAntonio Vazquez
2019-09-13Cleanup: use header guardsCampbell Barton
2019-09-13Cleanup: clang-formatCampbell Barton
2019-09-13UI: use pageup/down and home/end to scroll to start/end of menusJoep Peters
Differential Revision: https://developer.blender.org/D5582
2019-09-13BLI: add non-const lookup methods for StringMapJacques Lucke
2019-09-13BLI: add some missing methods to Map and SetVectorJacques Lucke
2019-09-13Tracking: Perform tracking and solving from a locked interfaceSergey Sharybin
Solves stability issues with possibly doing destructive changes to the tracking setup. Locking interface is the simplest and most reliable way to avoid crashes. It is still possible to run non-destructive changes such as clip view navigation. More operations can be marked as safe if needed. Fixes T67012: Software closes when a processing marker is deleted
2019-09-13Tracking: Move Lock Selection to an own operatorSergey Sharybin
There are no functional changes as far as users are concerned, just allows to mark operator as safe to be run from a locked interface.
2019-09-13Tracking: Mark view operators as safe for locked interfaceSergey Sharybin
2019-09-13Tracking: Cleanup, use bool type instead of intSergey Sharybin
2019-09-13GPencil: Fix unreported memory leak for weightsAntonio Vazquez
As the total of points was changed before free memory, if the total was lower than before, the remaining points were not released.
2019-09-13BLI: make more integer type conversions explicitJacques Lucke
2019-09-13BLI: fix some integer conversionsJacques Lucke
2019-09-13Add QuadriFlow remesherSebastian Parborg
2019-09-13BLI: new C++ hash table data structuresJacques Lucke
This commit adds some new hashing based data structures to blenlib. All of them use open addressing with probing currently. Furthermore, they support small object optimization, but it is not customizable yet. I'll add support for this when necessary. The following main data structures are included: **Set** A collection of values, where every value must exist at most once. This is similar to a Python `set`. **SetVector** A combination of a Set and a Vector. It supports fast search for elements and maintains insertion order when there are no deletes. All elements are stored in a continuous array. So they can be iterated over using a normal `ArrayRef`. **Map** A set of key-value-pairs, where every key must exist at most once. This is similar to a Python `dict`. **StringMap** A special map for the case when the keys are strings. This case is fairly common and allows for some optimizations. Most importantly, many unnecessary allocations can be avoided by storing strings in a single buffer. Furthermore, the interface of this class uses `StringRef` to avoid unnecessary conversions. This commit is a continuation of rB369d5e8ad2bb7.
2019-09-12Object Mode: don't use origin axis helpers for selectionCampbell Barton
2019-09-12GPencil: New set of Brush iconsAntonio Vazquez
Added: Airbrush and Chisel Changed: Marker Design: @mendio Subscribers: mendio Differential Revision: https://developer.blender.org/D5774
2019-09-12Fix build error on WindowsBrecht Van Lommel
2019-09-12BLI: fix illegal zero sized arrayJacques Lucke
2019-09-12Transform: AutoMerge & Split: Create and merge vertices at edge intersectionsmano-wii
Differential Revision: D5635
2019-09-12BMesh: New tool `BM_mesh_intersect_edges`mano-wii
Along with the new utility `BM_vert_weld_linked_wire_edges_into_linked_faces`
2019-09-12BLIKdopBVH: New `BLI_bvhtree_overlap_ex` utilitymano-wii
2019-09-12Fix T69752: Texture paint sampling colors always 'merged down'Philipp Oeser
Rgression from rBaf4dcc6073fa. paint_sample_color > imapaint_pick_face uses the the selection buffer (DRW_select_buffer_sample_point) and to get flat colors [select_id_flat] we need to be in SCE_SELECT_FACE mode. This was already fine if you had 'Face Selection Masking' turned on, but got colors including lighting when turned of [select_id_uniform]. There was already an exception in 'select_cache_init' that turns on SCE_SELECT_FACE for weightpaint, we just need this for texture paint (vertex paint) as well... Also moved the logic into select_id_get_object_select_mode. Note we were also asserting here: BLI_assert failed: /blender/source/blender/draw/engines/select/ select_engine.c:174, select_cache_init(), at 'e_data.context.select_mode != 0' Note also this is not working correctly for vertexpaint (yet), but has been discussed in T69752 and there is a solution by @mano-wii in P1032. Reviewers: mano-wii Subscribers: mano-wii Maniphest Tasks: T69752 Differential Revision: https://developer.blender.org/D5775
2019-09-12Shading: Add Vertex Color node.OmarSquircleArt
This patch adds a new Vertex Color node. The node also returns the alpha of the vertex color layer as an output. Reviewers: brecht Differential Revision: https://developer.blender.org/D5767
2019-09-12Fix: missing atomic includeJacques Lucke
2019-09-12BLI: new StringRef and StringRefNull data structuresJacques Lucke
These two data structures reference strings somewhere in memory. They do not own the referenced string. The string is considered const. A string referenced by StringRefNull can be expected to be null-terminated. That is not the case for StringRef. This commit is a continuation of rB369d5e8ad2bb7c2.
2019-09-12Fix T69791: Fix crash reading old file browser in temporary windowJulian Eisel
When reading a old .blend file (from before the new file browser design), we wouldn't create the execute region for existing file editors. This usually wasn't an issue, but it could become one when a file browser was opened in a temporary screen before, and that screen was still visible. Then code spawning the new file browser would re-use the old file browser data, assuming the execute region was there. Handle this in versioning code and let rest of the code keep sane assumtions (e.g. that there always is a execute region, even if invisible).
2019-09-12Fix T69792: Auto-merge split faces creates faces with unrelated wire edges.mano-wii
2019-09-12BLI: fix unregistering timer with same id twiceJacques Lucke