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-06-01Fix: Trailing directory separator missing in default font path on windows.Ray Molenkamp
This caused the file browser to open in c:\windows with the fonts folder selected instead of opening c:\windows\fonts\ and listing the fonts. Reported on chat by @blendify
2019-05-31Fix T62282: multires sculpting does not update smooth normalsBrecht Van Lommel
It may be good to move the normals update out of the drawing code. But it was already there for the non-multires sculpt cases, and does not have an obvious place since we bypass the depsgraph and want to avoid the cost of updating the normals multiple times when multiple events are handled before a redraw.
2019-05-31Fix various missing updates in sculpt mode, when changing modifiers and dyntopoBrecht Van Lommel
This restores the code that updates the sculpt session and PBVH from dependency graph evaluation.
2019-05-31Fix sculpt mode drawing with modifiers still being wrong in some casesBrecht Van Lommel
Centralize logic for when to use the PBVH for drawing, fix missing tests in mask drawing, fix missing tests for multiple windows, only do more expensive update for all viewports at end of the stroke.
2019-05-31Fix crash on certain changes in edit modeSergey Sharybin
Was missing re-set evaluated mesh to NULL. Fix T65302: Crash after selecting one of multiple materials Fix T65346: Blender crashes when selecting material in editing mode and LookDev view Fix T65344: Blender crashes in edit mode when changing object
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Cleanup: style, use braces in source/Campbell Barton
Automated using clang-tidy.
2019-05-31Fix missing file read/write of proxy/transform/crop settings when not usedBrecht Van Lommel
This was inconsistent with other data handling in Blender.
2019-05-31Fix T65285: Crash with Object.to_mesh() in certain conditionsSergey Sharybin
Was happening when modifier stack detected that mesh is not deformed and is not modified and attempted to share result across multiple objects. This was introduced in 2f77119. Now functions which are supposed to return mesh owned by caller will do so again. Shouldn't be a huge impact on memory print since the data layers are referenced.
2019-05-31VSE: don't add crop and transform data for sound stripsRichard Antalik
This also fixes commit rB1fd7b380f4cf8a0489b405de2819f228a4da5ea2 which didn't do allocation for effect strips properly. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4970
2019-05-30Fix T65231: Null audio device and AV Sync halts playbackJörg Müller
2019-05-30WM: use different drag thresholds for mouse/tablet eventsCampbell Barton
Now a small threshold is used for mouse input, avoiding delay when gizmos are activated on drag. Tablet input threshold remains unchanged since it's easier to make small movements when using a tablet. A larger threshold for non-cursor input is now used (typically keyboard) which improves usability when the "Pie Menu on Drag" key-map preference.
2019-05-29Fix T65275: missing dereferenceJacques Lucke
2019-05-29Fix T58251: Cycles ignores linked meshes when renderingSergey Sharybin
The idea is to share a mesh data-block as a result across all objects which are sharing same original mesh and have no effective modifiers. This mesh is owned by an original copy-on-written version of object data. Tricky part is to make sure it is only initialized once, and currently a silly mutex lock is used. In practice it only locks if the mesh is not already there. As an extra bonus, even viewport memory is also lower after this change. Reviewers: brecht, mont29 Reviewed By: brecht, mont29 Differential Revision: https://developer.blender.org/D4954
2019-05-29Fix T65027: Snap 3D cursor on hidden faces doesn't work in Edit Mode.mano-wii
I'm not very fond of adding new types of bvhtrees. But this is probably the most efficient solution.
2019-05-28Fix T65175: nodetree animation stays linked after duplicating a lampPhilipp Oeser
Reviewers: mont29, brecht Maniphest Tasks: T65175 Differential Revision: https://developer.blender.org/D4956
2019-05-28Eevee: Change default shadowmap near clipping distanceClément Foucault
And also fix some RNA props defaults and ranges. Fix T64452 Shadows not appearing in eevee
2019-05-28Depsgraph: Only invoke callbacks when there are changesSergey Sharybin
Only affects when an evaluated dependency graph is requested via context. Makes it cheap to call when there are no changes made to the graph
2019-05-27Eevee: Fix Aliasing in Light ProbesAdam Nydahl
Differential Revision: https://developer.blender.org/D4869
2019-05-27Fix (unreported) invalid handling of IDs usercount in ↵Bastien Montagne
`BKE_mesh_new_from_object_to_bmain()`. Would have broken usercount of mesh used as texco reference e.g.
2019-05-27Fix T63173: Dragging hidden collection inside a visible one unhides itDalai Felinto
Same for holdout, indirect only and exclude. Reviewers: brecht Differential Revision: https://developer.blender.org/D4945
2019-05-27Wireframe: Make wireframe's Xray slider default to 0Clément Foucault
This removes the dither patterns visible in wireframe mode. This does decrease de depth perception but many users complained about the visual noise it produces.
2019-05-27Depsgraph: Fix condition inverted by mistakeSergey Sharybin
Fixes T65165: Weights are not displayed in "Weight Paint" with modifiers
2019-05-27Depsgraph API: Allow preserving custom data layersSergey Sharybin
This commit extends dependency graph API with an argument which denotes that all custom data layers are to be preserved. This forces modifier stack re-evaluation with more inclusive mask. Far from ideal, since this might fail in certain configurations with indirectly used objects which might be missing layers needed for the current object evaluation. But this is how it worked for a long time, so should be good enough for until more sophisticated solution is found. In order to use this new behavior two things are to be passed: - Pass keep_all_data_layers=True - Pass a valid dependency graph. The dependency graph is only needed if keep_all_data_layers=True and is NOT to be passed if keep_all_data_layers=False. If keep_all_data_layers=True the dependency graph MUST be passed. Reviewers: mont29, brecht Reviewed By: mont29 Maniphest Tasks: T64994, T64794 Differential Revision: https://developer.blender.org/D4940
2019-05-25Fix T65094: Sequencer crashes blender when scene strip has NULL sceneDalai Felinto
Bug introduced on 930765faa81e.
2019-05-24Viewport: Change default studiolightClément Foucault
Differential Revision: https://developer.blender.org/D4939
2019-05-24Fix T65059: Crash in empty scenes for context _bases functionsDalai Felinto
Bug introduced on 0910932e71d2.
2019-05-24Viewport: add more contrast to default studio light, make it default againBrecht Van Lommel
It's closer to the default matcap now, but slightly less metallic and dark. The reason to use studio lights as default is because the roughness and metallic parameters of the material then have an effect, and because Texture color mode does not work for matcaps.
2019-05-24Depsgraph: Fix violation of evaluated domainSergey Sharybin
Evaluation must never go to original objects and query them: this is a huge violation of the entire idea of separating state across viewports and render engines. Allowed this to only happen for active dependency graph, where we at least know order of dependency graph update and user input.
2019-05-24Cleanup: warningsCampbell Barton
2019-05-23VSE: minimal cache invalidationRichard Antalik
2019-05-23VSE: remove lazy loading for strip crop and transformRichard Antalik
Lazy loading prevented showing values in UI. Now we just gray them out if not used.
2019-05-23Merge branch 'blender2.7'Bastien Montagne
Conflicts: source/blender/blenkernel/intern/library_remap.c
2019-05-23Fix (unreported) missing remapping of proxy_from pointer.Bastien Montagne
That would break proxy behavior after a library reload. The usual super-annoying loop-back pointers... At least that one is easily detectable and can be fixed in-place. Found while investigating T64764.
2019-05-23Masks: Properly port to Copy-on-Write conceptSergey Sharybin
Masks were not really covered by Copy-on-Write due to mistake in the dependency graph. After correcting that mistake a lot of tools became broken, so majority of the patch is related on making it so access to evaluated/tessellated masks is done. When accessing evaluated mask state make sure access to an evaluated dependency graph is done. This solves possible access to NULL data on redo. Fixes T64899: Re-doing new point addition causes crash Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T64899 Differential Revision: https://developer.blender.org/D4918
2019-05-23Cleanup: modernize code of new `BLE_main_id_refcount_recompute()`.Bastien Montagne
No functional change expected!
2019-05-23Merge branch 'blender2.7'Bastien Montagne
Conflicts: source/blender/blenkernel/intern/library.c source/blender/blenloader/intern/readfile.c source/blender/editors/screen/screen_edit.c
2019-05-23Fix (unreported) broken collections after undo/redo, or remapping (leading ↵Bastien Montagne
to crashes). Those are two cases where keeping infamous backward `parents` pointers of collections in sync is kind of impossible to do... So rebuilding those relationships from scratch instead. Fixes e.g. a crash when undoing, then reloading a library, and likely many more weird ones like that. Uncovered while investigating T64764.
2019-05-23BKE Collection: Add new function to rebuild parent relationships.Bastien Montagne
It's not always possible to keep 'by hand' parent relationships valid in collections hierarchy. Add functions to remake those (re-using/factorizing code from `readfile.c` `lib_link_collection_data()` function). Can't stress again how painful it is to have those kind of backward relationships in our data structures, those *always* end up being serious issues to keep in sync... Should only be generated on the fly when needed, period. :(
2019-05-23Fix T64764: 'Reload' on linked libraries disconnects proxy armature datablocks.Bastien Montagne
Note that this only fixes the core issue reported (caused by own dummy mistake in rBd0df7fb3b94ea), investigating that report uncovered at leat two more issues, including a crasher (when reloading after an undo)...
2019-05-22BKE Library handling: add function to recompute usercounts of IDs.Bastien Montagne
This will be needed in undo/redo case, since we do not re-read linked IDs, their usercounts become total garbage (especially in 'used by local ID' cases)...
2019-05-22Remove "_base*" from context APIDalai Felinto
We are not exposing RNA_ObjectBase in the 2.80 API. Thus we can't have operators relying on it (e.g, CTX_data_visible_bases, CTX_data_active_base, ...). Otherwise users won't be able to override context for these operators. This commit keep the CTX_data_.*bases() functions around so we don't need to change the operators and potentially break things that late into 2.80. However as far as the Python scripters are concerned there is no base to be overriden, ever. That also simplify the guessing game addon developers have to play when trying to override an operatori context. They still need to find whether an operator requires editables, visibles, selected, ... objects. But at least they don't need to find out whether the operators need base or object.
2019-05-21VSE: Don't store `cfra` in cacheRichard Antalik
Strips can move in time. Using cfra may give us erratic results. Reviewed by: brecht Differential Revision: https://developer.blender.org/D4898
2019-05-21Fix T64414: crash deleting collection used for particle group and use countBrecht Van Lommel
2019-05-21Cleanup: remove unused functionBrecht Van Lommel
2019-05-21Cleanup: clang-format, sort structsCampbell Barton
2019-05-21Particle: optimize threading for many particles and many coresJuan Gea
The maximum particles per task of 256 was outdated and lead to too much thread contention. Instead define a low fixed number of tasks per thread. On a i7-7700HQ, creating 4 million particles went down from 31s to 4s. Thanks to Oscar Abad, Sav Martin, Zebus3d, Sebastián Barschkis and Martin Felke for testing and advice. Differential Revision: https://developer.blender.org/D4910
2019-05-21Fix T64804 crash editing image paint fallof in edit modeBrecht Van Lommel
2019-05-21Viewport: MSAA support during ViewportRenderingJeroen Bakker
When rendering viewport to an offscreen buffer the buffer was constructed for non anti aliasing (0 samples). This made the objects that are drawn by the `object_mode` including `wireframe` draw type non-anti-aliased. The offscreen buffers will be constructed based on the user setting for viewport multisampling (`U.ogl_multisamples`). The same setting will also be used when previewing scene strips in the sequencer. For now this only improves wireframe drawing in the scene strips. To improve the Anti aliasing in the scene strips we need to get finer control in the draw manager. This will be part of a different patch I am preparing. Please note that this patch also cleansup some unused code in the offscreen rendering (FSAA code was still existing, but never called) Reviewed By: brecht Maniphest Tasks: T64849 Differential Revision: https://developer.blender.org/D4907
2019-05-21GPencil: Set samples to 10 for Soft brushAntonioya