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-02-25Cleanup: avoid Operator.customdata cast which could lead to errorsCampbell Barton
Both save and save-as share utility functions which cast from customdata in an error prone way. Avoid this by passing image format data directly.
2020-02-25Fix memory leak saving imagesCampbell Barton
2020-02-25DrawEngine: Clean upJeroen Bakker
Put DefaultFramebufferList and DefaultTextureList into an own header file. These structs were private, but also used by the window manager and gpu package. The previous implementation we needed to keep these structs in sync.
2020-02-25Image: support saving images in non-image spacesCampbell Barton
Alternate fix for T74182, making changes to the save-as operator.
2020-02-25Fix T74182: Crash saving images from non-image spacesCampbell Barton
2020-02-25Cleanup: move deprecated enum into versioning codeCampbell Barton
2020-02-25Cleanup: remove unused wmWindow.monitorCampbell Barton
2020-02-25WM: move cursor refresh tag to the windowCampbell Barton
Avoids having to check the current area is NULL.
2020-02-24Fix Cycles Embree hair + motion blur failing after recent Catmull-Rom changeBrecht Van Lommel
Ref T73778
2020-02-24Fix make deps failing to build opencollada on Linux, due to line endingsBrecht Van Lommel
The OpenCOLLADA package contains a mix of files with unix and dos line endings. Now we mark the diff as a binary file so that the patch also contains a mix of line endings that matches the package.
2020-02-24Fix T74169: Vector Rotate Node - Euler modes not working as intendedCharlie Jolly
Remove additional Euler modes for the time being, not working as intended, will add back if there is a need.
2020-02-24Fix unnecessary Cycles OptiX kernel loadingPatrick Mours
With the OptiX viewport denoiser active, an OptiX device was added to the device list even when rendering and denoising on different devices (e.g. CPU or CUDA) in background rendering. This fixes it, so the OptiX device is only added when actually needed, as in only when OptiX denoising is actually active in background rendering.
2020-02-24Fix T74099: Can`t apply modifier, if mesh have fake user.Bastien Montagne
Also cleaned up code there, making a proper poll function for the apply modifier operator, that way button is properly disabled in UI itself in most invalid situations.
2020-02-24Fix unused variable warning on LinuxJulian Eisel
2020-02-24Cleanup: Workbench: Remove checkerboard depthClément Foucault
This is not needed anymore with the new overlay xray fading.
2020-02-24Overlay: Remove Xray dithering noiseClément Foucault
We now use a better smoother technique that uses correct alpha blending. This is possible now that we render overlays in a separate buffer.
2020-02-24Mantaflow: Address precompiler warning and related cleanupJulian Eisel
* Address warning because of undefined OPENVDB usage * Remove unused WITH_FLUID definitions Differential Revision: https://developer.blender.org/D6919
2020-02-24Fix T74003: Autocomplete bug with mesh.loop_triangles. in Blender Python ↵Bastien Montagne
Console. The collection property `loop_triangles` was given the RNA type `MeshLoopTriangle` (the type of the collection's items), instead of `MeshLoopTriangles` (the actual expected RNA collection/array type). The cutest, tiniest typo mistake in RNA code, leading to some complete non-sense... It's fairly amazing that this did not cause more severe issues actually.
2020-02-24BLF: Optimize text rendering and cachingGermano Cavalcante
The current code allocates and transfers a lot of memory to the GPU, but only a small portion of this memory is actually used. In addition, the code calls many costly gl operations during the caching process. This commit significantly reduce the amount of memory by allocating and transferring a flat array without pads to the GPU. It also calls as little as possible the gl operations during the cache. This code also simulate a billinear filter `GL_LINEAR` using a 1D texture. **Average drawing time:** |before:|0.00003184 sec |now:|0.00001943 sec |fac:|1.6385156675048407 **5 worst times:** |before:|[0.001075, 0.001433, 0.002143, 0.002915, 0.003242] |now:|[0.00094, 0.000993, 0.001502, 0.002284, 0.002328] Differential Revision: https://developer.blender.org/D6886
2020-02-24Fix T73912: Highlight selected face option causes faces to fade outCampbell Barton
Recent changes to color mixing require updates to the theme, light overlays need to have their alpha reduced.
2020-02-24Overlay: Edit Mode: Fix wireframes being brighter because of linear blendClément Foucault
2020-02-23UI: Remove Width/Percentage control from Bevel tool settingsWilliam Reynish
Since this control is set as you drag in the viewport anyway, this amount value is effectively useless. It was only recently added by mistake with the Bevel GSOC.
2020-02-23Overlay: Fix wireframes being brighter because of color managementClément Foucault
Also change the blending factors to make wireframe a bit darker in unselected cases.
2020-02-22EEVEE: Fix memleak when G.is_break is set from another threadClément Foucault
2020-02-22Cleanup: EEVEE: Use interpf instead of custom lerpClément Foucault
2020-02-22Fix crash when open default templateAntonio Vazquez
As soon you select the default template, Blender crash on Winodws. This was introduced in commit {0b626703}
2020-02-22Cleanup: internal changes to cursor resettingCampbell Barton
- Move gizmo cursor check into ED_region_cursor_set so the result of calling this function is the same as flagging for cursor update. - Use tagging in ui_popup_block_remove which avoids adding a mouse-move event in case the cursor needs to be changed again.
2020-02-21Audaspace: Various fixesSergey Sharybin
- Fixed uninitialized result used in DynamicMusic::seek(). The comment to this function says false is returned if the handle is invalid, while in practice non-initialized value will be returned. - Spelling typos in comment. - Silence -Wdelete-non-abstract-non-virtual-dtor warning. Differential Revision: https://developer.blender.org/D6896
2020-02-21UI: Windows File Attributes and Hidden ItemsHarley Acheson
File Browser using Windows file attributes for decorating and hiding items. Differential Revision: https://developer.blender.org/D6816 Reviewed by Campbell Barton
2020-02-21Cleanup: remove unused ScreenAnimData.refreshCampbell Barton
2020-02-21Fix T73593: Drivers on hide_viewport and hide_render are unreliableSybren A. Stüvel
This fixes a threading issue (T73593) between drivers that write to the same memory address. Driver nodes in the depsgraph now get relations to each other in order to ensure serialisation. These relations are only added between drivers that target the same struct in RNA, which is determined by removing everything after the last period. For example, a driver with data path `pose.bones["Arm_L"].rotation_euler[2]` will be grouped with all other drivers on that datablock with a data path that starts with `pose.bones["Arm_L"]` to form a 'driver group'. To find a suitable relation within such a driver group, say the relation (from → to), a depth-first search is performed (turned out to be marginally faster than a breadth-first in my test case) to see whether this will create a cycle, and to see whether there already is such a connection (direct or transitive). This is done by recursively inspecting the incoming connections of the 'to' node and thereby walking from it towards the 'from' node. This is an order of magnitde faster than inspecting the outgoing connections of the 'from' node. This approach generalises the special case for array properties, so the code to support that special case has been removed from `DepsgraphRelationBuilder::build_animdata_drivers()`. A test on the Spring rig [1] shows that this process adds approximately 8% to the build time of the dependency graph. In my test case, it takes 28 ms for this process on a total 329 ms construction time. However, since it also made some code obsolete, it only adds 24 ms (=8%) to the construction time. I have experimented with a simple cache to keep track of known-connected (from, to) node pairs, but this did not significantly improve the timing. Note that animation data and drivers are already connected by a relation, which means that animating a field and also changing it with a driver will not cause conflicts. [1] https://cloud.blender.org/p/spring/5d30a1076249366fa1939cf1 Differential Revision: https://developer.blender.org/D6905 Reviewed By: sergey, mont29
2020-02-21Cleanup: un-indent ED_screen_set_active_regionCampbell Barton
Also remove redundant flag assignment from previous comment.
2020-02-21Fix regression in the orientation of transform Redo operationsGermano Cavalcante
Caused by rBb3abd2e102df
2020-02-21Cleanup: avoid looping over areas when refreshing the cursorCampbell Barton
These values are already known, pass in as arguments.
2020-02-21Fix T67805: Cursor doesn't update when switching tools via shortcutsCampbell Barton
2020-02-21Fluid: Fix typo in fluid RNASebastián Barschkis
Fix typo in fluid RNA.
2020-02-21Fluid: Cleanup in cache delete functionSebastián Barschkis
Removed unneccessary calls to BLI_exists() as BLI_delete() does this implicitly.
2020-02-21Fluid: Updated manta pp filesSebastián Barschkis
Updates include: - A fix from Jacques that changed the loop order in the mesh creation function (the fix speeds up the function significantly due to fewer cache misses). - Some of the grid copy helper functions are now multithreaded. - A fix for Windows file IO. Now it possible to load files with non ASCII characters on Windows too.
2020-02-21Cleanup: Move transform_mode_init to transform_mode APIGermano Cavalcante
2020-02-21Fix T74006: Alt+ clicking (assign to all selected) doesn not work forPhilipp Oeser
bone constraints settings 'UI_context_copy_to_selected_list()' was working fine for constraints on objects (would properly get the path and list of selected objects) and also for bone settings (would properly get the path and list of bones). There was no special case for constraints on bones though, so code would work on selected objects (not selected bones). So we now get the right bones and resolve the path to the constraint setting _from the bones_. Maniphest Tasks: T74006 Differential Revision: https://developer.blender.org/D6897
2020-02-21Fix T74044: Switching from Edge Slide to Move and Cancelling causes crashGermano Cavalcante
`TFM_TRANSLATION` was removed in rBa33b261473e9 but is still needed.
2020-02-21Transform: Fix reinitialization of custom data correctionGermano Cavalcante
2020-02-21Fix: Drivers on hide_viewport and hide_render throw warningsSybren A. Stüvel
This partially fixes T73593. The `add_relation(driver_key, property_entry_key, ...);` call can fail in the following situation: - A collection is linked, and instanced into the scene by an Empty. - The collection contains an object with a driver on its `hide_render` or `hide_viewport` property. As the object doesn't exist as a real object in the scene, it's added with `base_index=-1` to the depsgraph (see `DepsgraphNodeBuilder::build_collection()`). As a result the node for syncing the restrictflags back to the base isn't present in the depsgraph, and the `add_relation()` call failed. This commit fixes the warning, simply by not attempting to add the offending relation.
2020-02-21EEVEE: Render PassesJeroen Bakker
This patch adds new render passes to EEVEE. These passes include: * Emission * Diffuse Light * Diffuse Color * Glossy Light * Glossy Color * Environment * Volume Scattering * Volume Transmission * Bloom * Shadow With these passes it will be possible to use EEVEE effectively for compositing. During development we kept a close eye on how to get similar results compared to cycles render passes there are some differences that are related to how EEVEE works. For EEVEE we combined the passes to `Diffuse` and `Specular`. There are no transmittance or sss passes anymore. Cycles will be changed accordingly. Cycles volume transmittance is added to multiple surface col passes. For EEVEE we left the volume transmittance as a separate pass. Known Limitations * All materials that use alpha blending will not be rendered in the render passes. Other transparency modes are supported. * More GPU memory is required to store the render passes. When rendering a HD image with all render passes enabled at max extra 570MB GPU memory is required. Implementation Details An overview of render passes have been described in https://wiki.blender.org/wiki/Source/Render/EEVEE/RenderPasses Future Developments * In this implementation the materials are re-rendered for Diffuse/Glossy and Emission passes. We could use multi target rendering to improve the render speed. * Other passes can be added later * Don't render material based passes when only requesting AO or Shadow. * Add more passes to the system. These could include Cryptomatte, AOV's, Vector, ObjectID, MaterialID, UV. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D6331
2020-02-21Codesign: Make file watcher robust for network errorsSergey Sharybin
2020-02-21Cleanup: Spelling in a commentSergey Sharybin
2020-02-21Codesign: Remove archive with files after they were copiedSergey Sharybin
2020-02-21Fix transform 'center_override' not being flaggedGermano Cavalcante
Problem introduced by rBa33b261473e9
2020-02-21Fix T73841: Pressing 3 doesn't go to Pose modeWilliam Reynish
Just changing the order in the keymap seems to fix this
2020-02-20windows: Add some more verbose logging to make.batRay Molenkamp