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-03-12Cleanup: spelling, clang-formatCampbell Barton
2020-03-11EEVEE: Replace octahedron reflection probe by cubemap arrayClément Foucault
We implement cubemap array support for EEVEE's lightcache reflection probes. This removes stretched texels and bottom hemisphere seams artifacts caused by the octahedral projection previously used. This introduce versioning code for the lightcache which will discard any lightcache version that is not compatible. Differential Revision: https://developer.blender.org/D7066
2020-03-11GPencil: Add missing Layer buttons in Dopesheet header and remove unneeded ↵Antonio Vazquez
options Update Dopesheet header to include missing buttons, remove Scene Active only buttton and also removed duplicated search box. The removed options come from old 2.7x version and they are not required now. Reviewed By: mendio, pepeland Differential Revision: https://developer.blender.org/D7107
2020-03-11Fix T74516: Armature Crash on Select Similar GroupDalai Felinto
Select Similar Group and Select Similar Shape had this issue since they were added. Basically it assumes there is pose data which in some cases it does not.
2020-03-11Fix T74296: Free depsgraph when view layer is removedJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D7110
2020-03-11Cleanup: spellingCampbell Barton
2020-03-11Fix T74315: Cloth brush breaks orbit around selectionJacques Lucke
Reviewers: pablodp606 Differential Revision: https://developer.blender.org/D7095
2020-03-11Cleanup: clang-formatCampbell Barton
2020-03-10Fix T74596: Gpencil invert button was not working for Sculpt brushesAntonio Vazquez
The button was not checked, only the pen position or the control key.
2020-03-10Fix T74525: Fluid caches overwrite each other by defaultJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7093
2020-03-10Fix T74617: Gpencil Sculpt Strength brush gets wonky resultsAntonio Vazquez
Changed how the strength is calculñated and reduce the factor to get a smoother result.
2020-03-10Fix rendering artifacts when changing Face Sets visibilityPablo Dobarro
All sculpt operators and brushes need to use ID_RECALC_SHADING even when PBVH rendering is not used.
2020-03-10Fix T65076: Missing EasingType implementation on the DopesheetSybren A. Stüvel
EasingType was implemented rBdaccaa713b6e for the GraphEditor (but never made it to the Dopesheet). If you can select Easing Mode in the DopeSheet, then you should also be able to select the associated Easing Type. Thanks @lichtwerk for the initial implementation. Maniphest Tasks: T65076 Differential Revision: https://developer.blender.org/D6094
2020-03-10Fix T74425: Cannot texture paint an images sequence anymorePhilipp Oeser
Caused by the introduction of UDIM (rBc30d6571bb47). We need to make sure the tiles ImageUser is set up correctly [especially the framenr], otherwise BKE_image_acquire_ibuf() and friends will fail to find the correct ImBuf. Also instead of initializing a minimal BKE_imageuser_default, now use an appropriate ImageUser if avaliable and pass this around (instead of just the tile_number). 2D painting can reuse the Image Editor ImageUser, for 3D painting we still rely on a default ImageUser in most places, but at least set the framenr correctly]. This also fixes crashes when doing image operations such as inverting or resizing on images in a sequence in the Image Editor. This also fixes color sampling (S) from the 3DView going wrong for image sequences (would fallback to OpenGL sampling because an ImBuf could not be found). Maniphest Tasks: T74425 Differential Revision: https://developer.blender.org/D7022
2020-03-10Fix T73369: corner pin & sun-beam nodes gizmos are too bigCampbell Barton
Note that dragging isn't working well, however this was an issue in previous releases.
2020-03-10Fix T74612: file browser thumbnails not showing and using CPU continuouslyBrecht Van Lommel
This started happening after changing filter ID to 64 bit in rB2841b2be3949, however there was a pre-existing error here in the comparison to detect updates to filter flags.
2020-03-10Fix T74585: Crash when scrolling viewport shading pop-upJulian Eisel
Was dereferencing NULL pointer. Mistake from d5572eacc595.
2020-03-10Fix T74601: Cut Particles to Shape fails for transformed objectCampbell Barton
2020-03-10Fix sequencer Slip tool skipping offset=0 caseCampbell Barton
The slip tool wasn't being applied when the offset was zero. This caused modal operation to skip applying this offset while dragging.
2020-03-10Cleanup: replace term 'terrible' from sequence slipCampbell Barton
Joke from branch name, makes comments unclear.
2020-03-10Fix vertex slide deselecting facesCampbell Barton
Regression from 9a5df92c1bdee547dd38a846c22d91c05d45ff02
2020-03-10Fix T74579: Filename with '\' causes assert when browsing filesCampbell Barton
2020-03-09Cleanup: compiler warningsBrecht Van Lommel
2020-03-09Fix error in grease pencil vertex paint levels operatorBrecht Van Lommel
2020-03-09Fix T74354: Avoid division by 0 when calculating hardnessPablo Dobarro
I could not reproduce the issue, but it looks like it was produced by this division by 0. In any case, the code here was wrong. Reviewed By: jbakker Maniphest Tasks: T74354 Differential Revision: https://developer.blender.org/D6987
2020-03-09Sculpt: Edge AutomaskingPablo Dobarro
This automasking option protects the open boundary edges of the mesh from the brush deformation. This is needed to sculpt cloths and it works nicely with the cloth brush. It has a Propagation Steps property that controls the falloff of the mask from the edge. Limitations: - The automask is recalculated at the beginning of each stroke, creating a little bit of lag in high poly meshes, but it is not necessary. This can be fixed in the future by caching the edge distances, increasing a little bit the complexity of the code. - The boundary vertex detection in meshes is not ideal and it fails with triangulated geometry, but it is the same as in the smooth brush. After fixing this, we should refactor the smooth brush to use the API and let the automasking option manually control the affected vertices. - It does not work in Multires (it needs to be implemented in the API). The smooth brush in Multires is also not making boundary vertices. - The falloff has a visible line artifact on grid patterns. We can smooth the final automasking factors several iterations, but it will make the initialization much slower. This can also be added in the future if we decided to cache the distances. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6705
2020-03-09Face Sets: Use white color for a default Face Set to enable the overlayPablo Dobarro
This introduces a variable to store a face set ID which is going to be rendered white. When initializing a mesh or randomizing the colors, this variable gets updated to always render a white face set. This way the face set overlay can be enabled without adding colors to the mesh if face sets are not in use. After creating the first face set, new colors are generated randomly like usual. The face set stored as default does not have any special meaning for tools or brushes, it just affects the rendering color. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7035
2020-03-09Face Sets: Add relax support to Mesh Filter and Draw Face SetsPablo Dobarro
This enables a relax operation that works only on face sets boundaries, which smooths the jagged edges that are produced when painting or expanding face sets by sliding the topology without affecting the shape of the mesh. This has many uses in hard surface sculpting for things like sculpting panels or smoothing surfaces. It can also help when working with remeshed topology as it makes the face sets looks better and more organized if needed. The operation is implemented as an Shift smooth in the Draw Face sets tool, similar to the Slide/Relax tool. The same operation is also available in the mesh filter to smooth all the face sets boundaries uniformly or to smooth the face set under the cursor with the Use Face Sets option. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7034
2020-03-09Fix Cloth Brush not working with automaskingPablo Dobarro
The cloth brush was not using the automasking values when calculating the mask value on each vertex. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7083
2020-03-09Fix T74500: Rebuild the Face Sets datalayer after slicing the geometryPablo Dobarro
Was crashing SculptSession data will not longer be valid if the total number of polys is modified when rendering the mesh again. This deletes all face sets in the mesh when slicing the mask. I'll try to add code to generate a new face set in with faces that are created when filling the holes, but for now this avoids the crash. Reviewed By: brecht Maniphest Tasks: T74500 Differential Revision: https://developer.blender.org/D7049
2020-03-09Fix T74499: Add visibility checks to Face Sets creation operationsPablo Dobarro
Create face sets by visibility needs to check if all face sets of a vertex are visible to set the new face set. I renamed the functions to make this more cleare in the API. I also added a visibility check when creating by mask to avoid modifying hidden areas. Reviewed By: brecht Maniphest Tasks: T74499 Differential Revision: https://developer.blender.org/D7048
2020-03-09Sculpt: Remove hardcoded hardness from Clay brushPablo Dobarro
Hardness is now a property implemented for all brushes, so this is no longer needed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7078
2020-03-09Fix T74492: Reset Face Set data when cancelling the expand operatorPablo Dobarro
The operator was resetting the mask data when cancelling instead of the face set data, so it was crashing because mask data was not available when starting the operator in expand face set mode. Reviewed By: brecht Maniphest Tasks: T74492 Differential Revision: https://developer.blender.org/D7043
2020-03-09Fix failing assert because of invalid region coordinatesJulian Eisel
Steps to reproduce were: * Disable tool settings region in 3D View (View > Tool Settings) * Split the 3D View and drag all the way down The removed code doesn't seem to be needed anymore. Tested this on hiDPI too, seems fine. These kind of fixes are always tricky, so I wouldn't be surprised if there are any issues caused by this.
2020-03-09UI: avoid blurring of view navigation widgets at some UI scalesYevgeny Makarov
Differential Revision: https://developer.blender.org/D6734
2020-03-09Python API: allow overriding context.workspace for workspace operatorsKai Jægersen
Differential Revision: https://developer.blender.org/D6867
2020-03-09UI: rename View Frame to Go to Current Frame in video sequencerEitan
For consistency with other editors. Differential Revision: https://developer.blender.org/D7025
2020-03-09Fix layout.prop invert_checkbox not working combined with iconsBrecht Van Lommel
Contributed by Valentin (Poulpator). Differential Revision: https://developer.blender.org/D7027
2020-03-09Cleanup: Silence warningsDalai Felinto
2020-03-09GPencil: Refactor of Draw Engine, Vertex Paint and all internal functionsAntonio Vazquez
This commit is a full refactor of the grease pencil modules including Draw Engine, Modifiers, VFX, depsgraph update, improvements in operators and conversion of Sculpt and Weight paint tools to real brushes. Also, a huge code cleanup has been done at all levels. Thanks to @fclem for his work and yo @pepeland and @mendio for the testing and help in the development. Differential Revision: https://developer.blender.org/D6293
2020-03-09Cleanup: Replace ABS/SQUARE/CUBE with function callsSergey Sharybin
While it might be handy to have type-less functionality which is similar to how C++ math is implemented it can not be easily achieved with just preprocessor in a way which does not have side-effects on wrong usage. There macros where often used on a non-trivial expression, and there was at least one usage where it was causing an actual side effect/bug on Windows (see change around square_f(sh[index++]) in studiolight.c). For such cases it is handy to have a function which is guaranteed to have zero side-effects. The motivation behind actually removing the macros is that there is already a way to do similar calculation. Also, not having such macros is a way to guarantee that its usage is not changed in a way which have side-effects and that it's not used as an inspiration for cases where it should not be used. Differential Revision: https://developer.blender.org/D7051
2020-03-09Cleanup: clang-formatGermano Cavalcante
2020-03-09Transform Snap Object: Remove depsgraph when creating contextGermano Cavalcante
Currently, this change does not bring functional changes. But it is necessary to extend the use of the snap system for gizmos, since, after a Undo, the `depsgraph` pointed by the `snap_context` has its memory invalidated. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D7013
2020-03-08Revert "Outliner: Allow deleting entire selection"Campbell Barton
This reverts commit 62f238a65e334ccecae85134da0b05ba58382ae9. This prevents undo steps from being stored.
2020-03-08Outliner: Allow deleting entire selectionNathan Craddock
This allows deleting both collections and objects in the outliner selection at the same time. This only works using the keyboard shortcuts (X or Delete). While this works, a more robust solution should be implemented later to allow deleting the whole selection from the context menu as well.
2020-03-07Cleanup: Outliner: Remove unused parameterNathan Craddock
Searching back in the outliner did not require the unused SpaceOutliner parameter.
2020-03-07Fix T74513: Wrong naming in some Face Set comments and operatorsPablo Dobarro
Missing changes from one of the renamings of the initial face sets patch. Reviewed By: brecht Maniphest Tasks: T74513 Differential Revision: https://developer.blender.org/D7054
2020-03-07Fix T74501: Wrong initial iteration when using mask expandPablo Dobarro
The initial iteration for all symmetry areas is always 0. We were using 1 for the main stroke, so it was 1 step behind. This was broken for expanding masks and face sets, but with face sets it is more noticeable. Reviewed By: brecht Maniphest Tasks: T74501 Differential Revision: https://developer.blender.org/D7050
2020-03-07Fix T74498: Do not iterate over hidden vertices when using the transform toolPablo Dobarro
By using PBVH_ITER_UNIQUE hidden vertices are skipped, like in the rest of the brushes and tools. Reviewed By: brecht Maniphest Tasks: T74498 Differential Revision: https://developer.blender.org/D7047
2020-03-07Cleanup: replace BLI_make_file_string with BLI_join_dirfile for the ↵Campbell Barton
file-selector In these cases the file selectors directory is already expanded.