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
2020-07-13BLI: fix constructor regression for Vector and ArrayJacques Lucke
This was introduced in rB403384998a6bb5f428e15ced5.
2020-07-13BLI: don't allow mutable span of initializer listJacques Lucke
2020-07-13Cleanup: fix clang tidy warningJacques Lucke
The code was actually correct, but clang tidy complaint about using the Vector after it was moved from.
2020-07-13Cycles: Add control for sun intensity in Sky Texture and change altitude to kmLukas Stockner
Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Add versioning code for the new Sky Texture modelLukas Stockner
Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Remove Vector input on Sky texture when using the included sunLukas Stockner
When using the sun, we need to sun sampling logic to avoid excessive sampling map resolution, but that logic assumes that the Vector input comes from the view direction. That is the case in the vast majority of cases anyways, so the easiest solution is to just remove the input for that case. Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Remove limits on the Sky texture's sun rotationLukas Stockner
For animation/driver purposes, being able to go outside of the 0-360 range makes things easier. Differential Revision: https://developer.blender.org/D8091
2020-07-12Cleanup: disable debug codeJacques Lucke
2020-07-12Cleanup: unused debug variableJacques Lucke
2020-07-12Particles: initial support for forces in simulation node treesJacques Lucke
The force node can now be used to control the behavior of particles. Forces can access particles attributes. Currently, there are three attributes: `Position` (vector), `Velocity` (vector) and `ID` (integer). Supported nodes are: Math, Vector Math, Separate Vector, Combine Vector and Value. Next, I'll have to split `simulation.cc` into multiple files and move some stuff out of blenkernel into another folder.
2020-07-12Nodes: support more implicit conversions in simulation node treeJacques Lucke
2020-07-12Functions: minor improvementsJacques Lucke
2020-07-12Functions: minor api improvementsJacques Lucke
2020-07-11GPencil: Replace "ShaderFX" with "Shader Effects" in RNA prop textAntonio Vazquez
2020-07-11Nodes: support implicit conversions and incorrectly linked socketsJacques Lucke
2020-07-11Fix: incorrect attribute type in networkJacques Lucke
2020-07-11Nodes: support vector math node in simulation node treeJacques Lucke
2020-07-11Nodes: support math node in simulation node treeJacques Lucke
2020-07-11Nodes: support Value node in simulation node treeJacques Lucke
2020-07-11Nodes: move Math, Vector Math and Value shader nodes to c++ filesJacques Lucke
This required a little bit of refactoring, because we were using c-only syntax for the gpu shader names. All tests are still passing.
2020-07-11UV: add path select operator that uses the selectionCampbell Barton
Instead of using the mouse cursor position, this selects between existing selected elements. Access this since picking a selection path doesn't work from the menu.
2020-07-11Cleanup: remove unused functionCampbell Barton
2020-07-11Cleanup: spellingCampbell Barton
2020-07-10Revert "Fix T78296: Performance - Use Binary Search for MDeformWeight"Brecht Van Lommel
This reverts commit 39b525e0f07fa25dcda54226ade789959b642dec and 3121015dceb1d269d79690c8f15c8e1406c9b09f as tests are failing.
2020-07-10GPencil: Fix unreported Use Falloff curve for active frame not workingAntonio Vazquez
For the active frame it was using always a value of 1.0 and it was not using the curve.
2020-07-10Fix T78766: Blender crashes after deleting vertices with Custom Normals.Bastien Montagne
Some core BMesh topology changing functions were not properly tagging custom normal runtime caches as dirty...
2020-07-10Fix T78579: Proxy produces wrong preview when using Offset or CropRichard Antalik
Make sure that proxy and original images are scaled to same size before applying offset or crop. During testing, I discovered, that raw cache will lose information whether this image was proxy or not. Because of this, proxy images will not create this cache type. It would be fairly easy to implement this functionality for cache, but I have decided to not do it now, because I did not want to pass yet another mostly hard-coded bool flag to cache system. Since image is proxy, it should be fast to read anyway. In case of using offset property, code was modified to make sure we scale image only once. I also tried to make code more readable and streamlined and cleaned up surrounding functions a bit. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8203
2020-07-10Fix T78573: Crash when removing strips with prefetchingRichard Antalik
Stop prefetching before changing content of seqbase. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8256
2020-07-10Fix T69440: Memory leak adding strips via pythonRichard Antalik
seq->strip was overwritten in python API function. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8204
2020-07-10BLI: add C++ random number generatorJacques Lucke
This adds `blender::RandomNumberGenerator` in `BLI_rand.hh`. Furthermore, `RNG` is now implemented in terms of this new generator. No functional changes are expected, the generated random numbers are not changed by this commit. Reviewers: campbellbarton, brecht Differential Revision: https://developer.blender.org/D8259
2020-07-10Expose override flags to python RNA properties definition.Bastien Montagne
Time will tell whether we need to expose more RNA override flags here. Implements/Fix T78534. Differential Revision: https://developer.blender.org/D8250
2020-07-10Cleanup: declaration and implementation function signature did not matchJacques Lucke
2020-07-10Refactor override code to properly deal with runtime rna properties too.Bastien Montagne
The triplet static RNA / runtime RNA / custom properties is a real pain to deal with... Using the new `PropertyRNAOrID` struct helps clarifying and properly dealing with all three cases. Note that this makes override of py-defined RNA properties working (support for that will be committed next). Differential Revision: https://developer.blender.org/D8249
2020-07-10RNA: refactor how we get 'ensured' RNA properties.Bastien Montagne
Introduce new PropertyRNAOrID structure, storing most useful data about an 'opaque' PropertyRNA in relation with a given PointerRNA struct. It deals with all the three cases (pure static RNA, runtime RNA where data is actually stored in IDProperties, and pure IDProperties, aka custom data.
2020-07-10Cleanup: simplify platform define checksCampbell Barton
Platforms besides WIN32 were in a single else clause, use elif instead.
2020-07-10Fix for building on systems besides apple/windows/linuxCampbell Barton
2020-07-10Cleanup: follow code styleJacques Lucke
2020-07-10Functions: add utility to find dependencies of input socketsJacques Lucke
2020-07-10Functions: store derived node tree and network in map for future accessJacques Lucke
2020-07-10Functions: make constant folding work on unfinished networksJacques Lucke
2020-07-10Nodes: add redundant name check in debug builds to prevent errorsJacques Lucke
2020-07-10Fix Crash due to recent changesJeroen Bakker
{39b525e0f07fa25dcda54226ade789959b642dec} could write in unallocated space.
2020-07-10GPencil: Fix tooltip errorAntonio Vazquez
The tooltip was copied by error from Lattice modifier.
2020-07-10Functions: use new is-equal and hash function of CPPTypeJacques Lucke
2020-07-10Functions: make generic types hashableJacques Lucke
2020-07-10BLI: initial hash function for Color4b and float4x4Jacques Lucke
2020-07-10Functions: make generic types equality comparableJacques Lucke
2020-07-10Cleanup: various cleanups in for CPPTypeJacques Lucke
2020-07-10Fix T78296: Performance - Use Binary Search for MDeformWeightJeroen Bakker
Use binary search for querying deform weights. Spring 02_020_A.anim.blend on Ryzen 1700X goes from 12.4 to 12.7fps. During profiling it was detected that adding new items to the head was faster than adding to the tail. Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D8127
2020-07-10Cleanup: structure CPPType according to code style guideJacques Lucke