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-11-29EEVEE: CleanupJeroen Bakker
Remove redundant defines.
2019-11-29Cleanup: replace macros with functionsCampbell Barton
2019-11-293D View: fix NDOF rotation around object locking panCampbell Barton
2019-11-29Cleanup: comments, redundant normalizeCampbell Barton
2019-11-28Fix T71990: Apply bone transform results differ in edit/object modeCampbell Barton
When negative scaled matrices were used, the roll calculation didn't match, when calling Armature.transform().
2019-11-28Fix T71147 Eevee stops rendering after selection attemptClément Foucault
This is caused by the fallback path used by OSX, which is reconfiguring the same default VAO. But it seems to be an issue on certain drivers.
2019-11-28Fix T71558: Hair particles: Brush effect not occluded by emitter geometrymano-wii
2019-11-28Fix (unreported) broken python resgistrable classes checks logic.Bastien Montagne
Logic for registering and checking properties of registrable classes was broken, allowing to ignore some errors. Recent fix rBeb798de101a `broke` the result of the pyapi_idprop_datablock test, because previously that test would fail (i.e. suceed, as it is an 'expected to break test') for a reason it was not designed to check. This is the problem with that kind of tests - you cannot really check that they are failing on the expected reason(s)...
2019-11-28EEVEE: RenderLayersJeroen Bakker
Small change do not draw an unsupported renderpass in the viewport
2019-11-28EEVEE: Viewport RenderpassesJeroen Bakker
This patch will allow the user to select the EEVEE renderpass to be shown in the viewport by default the combined pass will be shown. Limitations: * Viewport rendering stores the result in a `RenderResult`. RenderResult is not aware of the type of data it holds. In many places where RenderResult is used it is assumed that it stores a combined pass and the display+view transform are applied. I will propose to fix this in a future patch. But that is still being designed and discussed. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6319
2019-11-28BMesh: reduce memory usage existing edit-modeCampbell Barton
- Don't duplicate the original vertices. - Free old geometry before allocating the new geometry.
2019-11-28Fix separating mesh parts breaking vertex parents & hooksCampbell Barton
Follow up on T71865 which only reported the issue for shape keys.
2019-11-28NDOF: support panning when orbitingCampbell Barton
Also make orbit the default rotation mode. Based on feedback from T67579, this seems one of the main pain points users are experiencing.
2019-11-27Fix T71865: Separating mesh parts breaks shape keysCampbell Barton
This was an old bug which could be caused by saving after separating. Changes from 79b703bb635e made this fail reliably. Update shape key indices when they may be used again later.
2019-11-27Cleanup: bmesh conversion commentsCampbell Barton
2019-11-27Fix T71000: Statistics don't take collections hidden state into accountDalai Felinto
Simple fix, to mimic what we had pre-local collections. So this is not fully representative of the current load of the scene. I started a more complex route where we literally just count objects that are visible (taking object type restriction, local collections, local view, ...). But in the end it is a bit overkill considering that we have plans to change the statistics.
2019-11-27Fix crash exiting edit-mode with an active basis shape keyCampbell Barton
Exposed by T71865, while the bug remains this resolves the crash.
2019-11-27Clay Brush: Input curves and update defaultsPablo Dobarro
Updated defaults and pressure/size curves for the Clay brush. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6298
2019-11-27Sculpt: Sample Voxel SizePablo Dobarro
This adds support to the current sculpt sample detail operator to sample a voxel size for the voxel remesher when sculpting on regular meshes. It provides an approximation of a voxel size that is going to preserve the sampled sculpt details after remeshing. It is not going to be 100% accurate in all cases as it relies on having consistent edge length in the whole sculpt, but it saves a lot of time and avoids guessing the voxel size by trying different values. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6251
2019-11-27Sculpt/Paint: Remove Unified SIZE_PRESSURE and ALPHA_PRESSUREPablo Dobarro
The relation between the pressure/size and the pressure/alpha is a fundamental property that defines the behavior of a brush, so it does not make sense to have it unified across all brushes. This applies both for sculpting and painting. Some of the new 2.82 brushes need pressure/size or pressure/alpha to be enabled to work propely, while others don't. Users should not be switching on and off this property manually when changing brushes if they want to use unified size. This is also causing that some users are using the brushes with an incorrect configuration. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6291
2019-11-27Sculpt/Paint: Move Elastic Deform Kelvinlets to BKEPablo Dobarro
After this commit it should be possible to share the same deformation formulas that are used in the Elastic Deform brush with other areas of Blender such as Grease Pencil or proportional editing. This also removes a lot of code from sculpt.c that is not direclty related to sculpting. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6281
2019-11-27Fix T71667: Use the Sculpt Mesh API in the Multires Smooth brushPablo Dobarro
This removes all multires code from the smooth brush and replaces it with a new implementation that uses the sculpt mesh API. This makes the code much easier to understand and maintain. We could unify all the smooth brushes into a single implementation, but mesh smoothing has code to deal with open boundaries that I don't want to remove yet. Most bugs and artifacts related to access neighbor grids should be fixed (like T71667). This also fixes performance bugs such as T70689, that were related to grid stitching after applying the brush. Reviewed By: jbakker Maniphest Tasks: T71667 Differential Revision: https://developer.blender.org/D6277
2019-11-27Fix T71868: Clay Strips brush collapsed geometryPablo Dobarro
We are now modifying the relation between pressure and radius using custom functions to improve the brushes, but dyntopo was not prepared for this. This fix sends the unmodified radius to dyntopo so it modifies the geometry correctly. Reviewed By: jbakker Maniphest Tasks: T71868 Differential Revision: https://developer.blender.org/D6299
2019-11-27Fix typo in versiong codePablo Dobarro
2019-11-27Text Object: change spacing now operates on selectionDamien Picard
Without this, it's not practical to change spacing on large blocks of text.
2019-11-27Cleanup: Remove BIF_gl.hJeroen Bakker
BIF_gl.h included hacks like redefining glew functions and a constant. The named constant `GLA_PIXEL_OFS` has been moved to `GPU_viewport.h` Reviewed By: brecht Differential Revision: https://developer.blender.org/D5860
2019-11-27Workbench: PerformanceJeroen Bakker
Small performance improvements by caching the world_ubo in the World. It was detected that NVIDIA driver created threads to update the world_ubo (304 bytes). This patch will reuse the previous created ubo when not changed. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6087
2019-11-27Curve: CurveMapping Extend OptionJeroen Bakker
Extend options are currently stored per curve. This was not clearly communicated to the user and they expected this to be a setting per CurveMapping. This change will move the option from `Curve` to `CurveMapping`. In order to support this the API had to be changed. BPY: CurveMap.evaluate is also moved to CurveMapping.evaluate what breaks Python API. Cycles has been updated but other add-ons have not. After release of 2.81 we can merge this to master and adapt the add-ons. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D6169
2019-11-27Add 'EDBM_selectmode_disable_multi' and use in knifeprojectPhilipp Oeser
As a followup to rB6f4e595e9ba9 and as per @campbellbarton suggestion, this adds EDBM_selectmode_disable_multi, similar to EDBM_mesh_deselect_all_multi & EDBM_mesh_deselect_all, so other similar uses don't need to be done in a loop. Also, selected_objects isn't a reliable way to handle this case - since objects can be in edit-mode & not selected, use BKE_view_layer_array_from_bases_in_edit_mode_unique_data instead Differential Revision: https://developer.blender.org/D6317
2019-11-27RenderViewport: Texture FormatJeroen Bakker
When doing viewport rendering the color management happens on the CPU. This has overhead in downloading a float texture from the gpu and performing color management on the CPU. Based on the scene fileformat bit depth the result will be rendered to a byte texture where the colormanagement happens on the GPU or a float texture where the colormanagement happens on the CPU. This is only done during `Viewport Render Animation` in other cases a float texture is being used. Baseline (HD render of wanderer.blend workbench engine no samples) 15.688038 s After changes: 9.412880s Reviewed By: fclem Differential Revision: https://developer.blender.org/D6195
2019-11-27EEVEE: GLSL RenderpassesJeroen Bakker
Most of the renderpasses in EEVEE used post-processing on the CPU. For final image rendering this is sufficient, but when we want to display the data to the user we don't want to transfer to the CPU to do post processing to then upload it back to the GPU to display the result. This patch moves the renderpass postprocessing to a GLSL shader. This is the first step to do, before we will enable the renderpasses in the viewport. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6206
2019-11-27EEVEE: Renderlayer artifactsJeroen Bakker
When rendering the Subsurface scattering lighting render layer with high sample count render artifacts can appear. This patch will remove these render artifacts by using a more precise texture format when samples will be larger than 128. As with the new eevee-shadows it is more common to use higher number of samples. The reason why it was visible in the subsurface scattering is that every sample could change the color. Adding different values will reduce precision over the number of samples. The subsurface color render layer also has this issue, but it is not noticeable as the colors tend to be close to each other so the colors would most of the time just shift the precision and hold up better. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6245
2019-11-27Cleanup: move space text vars into a runtime structCampbell Barton
Also use more descriptive names.
2019-11-27Fix T30941: Add cloth air pressure simulationSebastian Parborg
This adds some basic simulation of internal air pressure inside of closed cloth mesh objects. Reviewed By: Jacques Lucke Differential Revision: http://developer.blender.org/D5473
2019-11-27Fix T71864: Broken 'Select' > 'More' in face mode in UV EditorPhilipp Oeser
Caused by rBeead6a604602. Above commit didnt account for different element types being tagged (face select mode tagged faces, others tagged loops) and always flushed from loops. Now restore to flush from faces if we are in face select mode. Maniphest Tasks: T71864 Differential Revision: https://developer.blender.org/D6315
2019-11-27Avoid Brush user count increase when duplicates the BrushAntonio Vazquez
When you create a new Brush, the user count is `2` (caller and fake user). The problem is when you duplicate a Brush, the user count grows to `3` and this is not correct, because is a new brush. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6310
2019-11-27fix T69772 Collada importer creates wrong fcurves for skeletal animationGaia Clary
2019-11-27Cycles: Add Random Per Island attribute.OmarSquircleArt
The Random Per Island attribute is a random float associated with each connected component (island) of the mesh. It is particularly useful when artists want to add variations to meshes composed of separate units. Like tree leaves created using particle systems, wood planks created using array modifiers, or abstract splines created using AN. Reviewed By: Sergey Sharybin, Jacques Lucke Differential Revision: https://developer.blender.org/D6154
2019-11-27refactor: collada importer: calculate fcurve index only once when creating ↵Gaia Clary
an fcurve
2019-11-27Cleanup: spelling, clang-formatCampbell Barton
2019-11-27Cleanup: warningsCampbell Barton
2019-11-27Fix T69530: Do Not Refresh Bookmarks While Moving File BrowserHarley Acheson
Improve laggy performance while moving File Browser by not refreshing fsMenu lists in its init. Differential Revision: https://developer.blender.org/D6112 Reviewed by Bastien Montagne
2019-11-26Fix preview Template-ID broken in vertical layoutsJulian Eisel
Old code worked pure "by luck". I fixed an error in rB5bcb0c993503 that made this "luck" go away. Special handling is needed for the preview layout.
2019-11-26Gpencil: Fix unreported memory leak duplicating BrushAntonio Vazquez
When the brush is duplicated, the grease pencil settings doesn't need to be recreated.
2019-11-26Allow deletion of directories in the file browserRobert Guetzkow
This diff allows to delete directories in the file browser. The commit https://developer.blender.org/rB8825250f5a85c0c16e74ed144dd2b4a7d752042f did not include this feature. Reviewed By: Severin Differential Revision: https://developer.blender.org/D6083
2019-11-26Anim: added BKE_object_moves_in_time(object) functionSybren A. Stüvel
This function exposes the already-existing static `object_moves_in_time()` function, and optionally recursively checks the parent object for animatedness as well. I also added checking `AnimData::overrides` to `BKE_animdata_id_is_animated()`. This ensures that, apart from the optional recursion to the parent object, the function has the same functionality.
2019-11-26Anim: made object param of BKE_animdata_id_is_animated() constSybren A. Stüvel
No functional changes.
2019-11-26Alembic export: don't assume transform is always animatedSybren A. Stüvel
Instead of always writing the transform on every frame, it's now checked whether the object is animated at all. This could be made stricter to reduce false positives, for example by checking FCurves and drivers to see whether translation/rotation/scale is animated. However, this approach is already better than the `return true` we had before. This commit adds the BKE_animdata_id_is_animated(id) function, which returns true if the ID datablock has non-empty animation data. This is determined by checking the the active action's fcurves, the drivers, and NLA tracks.
2019-11-26Removed `BKE_object_is_animated()`Sybren A. Stüvel
The function isn't used anywhere, and it's deceptively returning false negatives. For example, `modifier_dependsOnTime()` will return `false` for hook modifiers, even when the hook target is animated. Querying the depsgraph for dependency on the time source would be a better approach.
2019-11-26Made ob param of `modifiers_getVirtualModifierList` constSybren A. Stüvel
The `modifiers_getVirtualModifierList()` function previously took a non- const `Object *ob` parameter, preventing it from being called from more restrictive functions. Since the function doesn't modify the passed object, it could easily be made const. No functional changes.