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-10-01Cleanup: slightly more efficient access to PBVH multires grid keyBrecht Van Lommel
2019-10-01Cleanup: abstract sculpt floodfill codeBrecht Van Lommel
2019-10-01Cleanup: avoid accessors, reduce memory usage, multithread dirty maskBrecht Van Lommel
2019-10-01Cleanup: make sculpt vertex random access API read-onlyBrecht Van Lommel
2019-10-01Cleanup: prefer PBVH iterator over random vertex access in some placesBrecht Van Lommel
2019-10-01Cleanup: avoid unnecessary brush radius test in mask expandBrecht Van Lommel
2019-10-01Cleanup: don't go through sculpt accessor functions multiple timesBrecht Van Lommel
2019-10-01Cleanup: compiler warningBrecht Van Lommel
2019-10-01BLI: optimize GSQueue implementation to allocate in chunks, like BLI_StackBrecht Van Lommel
2019-10-01Fix T70206 Texture Paint: UV shadow doesnt show upClément Foucault
2019-10-01Fix T70325 EEVEE: Performance regression with large nodetreesClément Foucault
This was caused by nodeChainIter which is not linear complexity. Introduce nodeChainIterBackwards to iterate backwards faster.
2019-10-01Fix T66641: Certain drivers fail to copy when copying a full scene.Bastien Montagne
The core of the issue here is that 'make single user' functions still does its own, manual and quite partial, remapping of IDs, which covers all most common cases but cannot consider *all* possible ID usages (especially when it comes to drivers or custom properties, that can essentially point to any kind of data-blocks). This fix is merely a band-aid, there is no way to fully solve this without a complete rewrite of that area of code to make use of modern ID management code.
2019-10-01Cleanup: remove unused variablesSybren A. Stüvel
2019-10-01Fix T70376: Lattice point looses state on modeswitch when shape keys arePhilipp Oeser
present Selection state of lattice points as well as their weight were not kept when going in and out of editmode, code would just copy positions. Now copy the whole BPoint instead. Reviewers: campbellbarton Maniphest Tasks: T70376 Differential Revision: https://developer.blender.org/D5948
2019-10-01RNA: add check for zero step argumentsCampbell Barton
Avoids errors like T70281 slipping through.
2019-10-01Image/Clip Space: Add view center to cursor operatorsCampbell Barton
D5932 by @a.monti with edits
2019-10-01Fix T70281: Changing Default interpolation also changes curve of new driversSybren A. Stüvel
Having a constant FCurve doesn't make sense for drivers; either linear or Bezier should be used. Since the code is already creating a Bezier curve, I just added the flag to not look at the user preferences in this case. Reviewed by: angavrilov Differential Revision: https://developer.blender.org/D5921
2019-10-01Fix T70397: Dilate/Erode 'distance' increment/decrement arrows notPhilipp Oeser
working Since rB78b56fa7d973 we always have to specify a valid step value.
2019-10-01Cleanup: use doxy sections for clip_ops.cCampbell Barton
2019-10-01UI: Changes to Paint CursorsHarley Acheson
Changes to cursors that can be used for painting and sculpting. Differential Revision: https://developer.blender.org/D5951 Reviewed by Brecht Van Lommel
2019-09-30Cleanup: use PyC_StringEnum to path access functionsCampbell Barton
This gives better error messages, simplify code.
2019-09-30ImBuf Py API: implement resize method argumentCampbell Barton
2019-09-30PyC API: utility to parse a string as an RNA like enumCampbell Barton
More convenient than comparing strings, with the advantage that errors don't need to repeat expected values.
2019-09-30UI: Remember File Browser Display Options in PreferencesJulian Eisel
This makes it so that some display related properties of the file browser state are remembered in the Preferences. Otherwise, users often end up doing the same set up work over and over again, so this is a nice way to save users some work. It's typical for other file browsers to remember their state too, so another benefit is having a more conventional behavior, meeting user expectations better. Some points: * We currently store: Window size, display type, thumbnail size, enabled details-columns, sort options, "Show Hidden" option. More can be added easily. * No changes are stored to the Preferences if "Auto-save Preferences" is disabled. This is how Quick Favorites behave too and it's a reasonable way to make this behavior optional. * The Preferences are only saved to permanent memory upon closing Blender, following existing convention of Preferences and Quick Favorites. * If settings weren't actually changed, Preference saving is skipped. * Only temporary file browsers save their state (invoked through actions like open or save), not regular file browser editors. These are usually used for different purposes and workflows. * Removes "Show Thumbnails" Preferences option. It would need some special handling, possibly introducing bugs. For users, this simplifies behavior and should make things more predictable. Left in DNA data in case we decide to bring it back. Reviewers: brecht, #user_interface, billreynish, campbellbarton Reviewed By: #user_interface, William Reynish, Campbell Barton, Brecht van Lommel (quick first pass review in person) Maniphest Tasks: T69460 Differential Revision: https://developer.blender.org/D5893
2019-09-30Fix T58683: Reload Scripts breaks toolbar button formattingCampbell Barton
Add a function which clears internal cached operator pointers, run before reloading scripts.
2019-09-30Revert "Fix T58683: Reload Scripts breaks toolbar button formatting."Campbell Barton
This reverts commit ba90d2efa58fe23a87f98e014bcc02ea951a6a49. This can be resolved without adding a boolean to all operator types to check if it's "WM_OT_tool_set_by_id".
2019-09-30Cleanup: unused argumentsCampbell Barton
2019-09-30GPU: Make sure workaround is supportedmano-wii
`context_local_shaders_workaround` is only supported on OpenGL 4.1 or higher.
2019-09-30Fix T70375: Typo in label (Height used instead of High).Bastien Montagne
Also, use Title Caps for labels...
2019-09-30PBVH: PBVH_FullyMasked and PBVH_FullyUnmasked flagsPablo Dobarro
This commit introduces flags to tag the PBVH nodes as fully masked or unmasked. This is used in do_brush_actions to filter fully masked nodes during a stroke. Other tools can also be updated to use this flags. Sculpt updates now require a flag to update the mask or the vertex coordinates. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5935
2019-09-30Fix T70385: Pose brush breaks when using pose origin offsetPablo Dobarro
Reviewed By: jbakker Maniphest Tasks: T70385 Differential Revision: https://developer.blender.org/D5945
2019-09-30Fix PBVH search callback in pose and elastic deformPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5947
2019-09-30Sculpt: Only redraw nodes where the mask changedPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5923
2019-09-30UI: Use paint crosshair cursor in all paint & sculpt modesWilliam Reynish
Currently, we use the crosshair cursor in Sculpt mode, but not in the other paint modes. - Sculpt Mode: This crosshair cursor is too weighty. - Texture, Weight, Vertex Paint: Using the arrow cursor for painting is not right. This commit makes the following changes: - Use the new special paint crosshair instead - Use this cursor in all paint modes, not just Sculpt Reviewed by: Brecht Differential Revision: https://developer.blender.org/D5940
2019-09-30Fix RNA's "editable" func regarding IDProps and override.Bastien Montagne
`RNA_property_overridable_get()` need the original RNA property (i.e. the actual IDProp in case it is one), not the 'proxy' type property returned by `rna_ensure_property()` for IDProps. Makes custom properties of library overrides editable at last, now we only have to keep them overridden values!
2019-09-30Cleanup: spellingCampbell Barton
2019-09-30Revert "macOS: Replaced OSSpinLock with os_unfair_lock."Stefan Werner
This reverts commit 9d282d7a8d689a17ae58e94453ae99a41e91b701. os_unfair_lock requires macOS 10.12 or newer.
2019-09-30Fix T69334: VSE Very low framerateRichard Antalik
Revert "Sequencer: use Alpha Over blend mode by default" This reverts commit 7c6c5b40cae47e2ecb0e2ef2a5ca1883270c0023. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5943
2019-09-30Fix wrong sculpt flat shaded normals after recent optimizationsBrecht Van Lommel
2019-09-29Fix T70345: wrong transforms of objects after recent NVIDIA workaroundBrecht Van Lommel
This reverts commit 44d042094e21b519b38a3d78761b64bb5ceeb350 and adds a simpler workaround for just the node links display issue. There are other issues though so this is not a full workaround.
2019-09-29Fix T70320: View clipping doesn't hide extra wireframeCampbell Barton
2019-09-29Fix T69935: Silence Win32 OS Error DialogsHarley Acheson
Call SetErrorMode() at startup to prevent error mode dialogs. Differential Revision: https://developer.blender.org/D5941 Reviewed by Brecht Van Lommel
2019-09-29UI: Let file browser tool/bookmarks region push upper bar inJulian Eisel
Main reason for doing this is that the navigation buttons are very close to the file list now, making them much faster to reach. Initially we let the upper bar (the one with the file path, navigation and display buttons) use full area width, because designs back then had more horizontal space problems. The designs have changed meanwhile, and horizontal space is less of an issue. However, when the file browser is shrunk horizontally, or if it's open in a small area (e.g. see "Shading" workspace), having the tool region open brings back the space issues. But even the file list layout becomes problematic then, and the same issue was present before the new file browser design, so we've decided this is an acceptable tradeoff.
2019-09-29Cleanup: use doxy sections for image_ops.cCampbell Barton
2019-09-29Fix (workaround) memory leak cancelling sculpt mask expandBrecht Van Lommel
2019-09-29Fix small memory leaks in some sculpt toolsBrecht Van Lommel
Also use MEM_SAFE_FREE to simplify code.
2019-09-29Sculpt: minor optimizations for GPU draw buffer fillingBrecht Van Lommel
Ref T70295
2019-09-29Sculpt: only update draw buffers for visible nodes during paint strokeBrecht Van Lommel
Also applies to some other sculpt tools like filter and mask expand. The full update happens after the paint stroke is finished, so it does not happen on view navigation, which would cause a delay. Ref T70295 Differential Revision: https://developer.blender.org/D5922
2019-09-29Sculpt: multithread GPU draw buffer filling for workbenchBrecht Van Lommel
This improves performance of some sculpt tools, particularly those that modify many vertices like filter and mask tools, or use brushes with large radius. For mask expand it can make updates up to 2x faster on heavy meshes, but for most tools it's more on the order of 1-1.1x. There are bigger bottlenecks to solve, like normal updates. Ref T70295 Differential Revision: https://developer.blender.org/D5926
2019-09-29Sculpt: use dynamic scheduling and chunk size 1 for multithreadingBrecht Van Lommel
This is under the assumptions that each node has enough work to avoid the threading overhead, while also having a possible variable amount of work. For example most of the vertices being masked or outside of the brush radius. Improves performance by about 10% for tools like mesh filter on an entire 3 million poly mesh, tested on a quad core. Ref T68873