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-31Merge branch 'blender-v2.81-release'Pablo Dobarro
2019-10-31Paint: Option to disable antialiasingPablo Dobarro
You may want to disable antialiasing if you are working with pixel art or low resolution textures. It is enabled by default. Reviewed By: jbakker, campbellbarton Differential Revision: https://developer.blender.org/D6044
2019-10-25Merge branch 'blender-v2.81-release'Campbell Barton
2019-10-25Preferences: remove keymap items created with invalid data pathCampbell Barton
Before T65397 was fixed, invalid "(null)" data paths were being created. Remove these keymap items from preferences.
2019-10-18Merge branch 'blender-v2.81-release'Campbell Barton
2019-10-18Cleanup: remove unused viewport fx_settingsCampbell Barton
2019-10-16UI: Remember ID-Filter in-between File Browser callsJulian Eisel
This adds the ID-Filters visible on append/link to the settings the file browser remembers, potentially storing them in the Preferences. Artists in the studio here requested this. They typically have to set up the same or similar settings every time, so this saves them from that.
2019-10-15Docs: clarify writefile.c file format infoCampbell Barton
2019-10-15Docs: clarify writefile.c format textCampbell Barton
2019-10-11Version bump to 2.81.15Brecht Van Lommel
2019-10-10Annotations: Use flag to determine if the layer is a RulerAntonio Vazquez
Proposed fix for T70141. Before, the ruler was using the name of the layer as key, but this is very weak because if the layer name changes, the layer gets an annotation layer. Now, the layer is marked using a flag and now it's possible to rename it. Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D6028
2019-10-10Fix crash versioning file-selector tool regionCampbell Barton
Loading the file from T69967 was crashing.
2019-10-10Cleanup: clang-format, spellingCampbell Barton
2019-10-07Fix T70508: Wrong snapping default in Node Editormano-wii
2019-10-05Fix T70539: file folder color preference not savedBrecht Van Lommel
Please always bump the subversion for cases like this.
2019-10-03Cleanup: argument naming, redundant NULL checksCampbell Barton
2019-10-02Implement a user preference for the default Auto Handle Smoothing mode.Alexander Gavrilov
The default was changed with an initial implementation of the feature. With the feedback from animators, having a behavior which affects curves outside of a changing range is not convenient for professional animators working on high quality character animation. On the other hand, automatic smoothing is better for casual animation of object motion. This change adds an ability to change the default via User Preferences. Differential Revision: https://developer.blender.org/D5875
2019-10-02UI: add NLA track and channel theme colorBrecht Van Lommel
Patch contributed by Paul (Thirio). Differential Revision: https://developer.blender.org/D5967
2019-10-01Fix T70315: Blender exit with code `-6` with message `Attempt to free NULL ↵Bastien Montagne
pointer`. This is not actually fixing the real issue here, PackedFile structs are never supposed to have a NULL pointer - and in that monster .blend file, the pointer is not NULL, but the actual data chunk has been lost somehow, so it gets NULL during read process. Very unlikely we ever know how such corrupted .blend was created though (there's probably a fair chance that this is not even due to a bug in Blender, but rather a glitch in filesystem or something). So for now, ensure at read time that we get a coherent state (i.e. remove any read PackedFile that would have a NULL data field), and add a few asserts in relevant code to check we never get NULL data pointer here.
2019-10-01Brush: default the strength to 1.0Campbell Barton
This applies to all paint modes except sculpt and grease pencil brushes. When painting color or weight it's best to paint the color the user has selected, without them having to make multiple strokes.
2019-10-01Cleanup: remove redundant id lookups in versioning codeCampbell Barton
2019-10-01Fix mismatch in brush default versioningCampbell Barton
Assign a variable to avoid repetition and having this happen again.
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-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-29Sculpt: disable workbench anti-aliasing during stroke paintingBrecht Van Lommel
This mostly happens automatically anyway since there is usually not enough time left over for it. But when it does it happen it breaks partial redraw, and may also have a negative impact on responsiveness. Ref T70295
2019-09-27GPencil: New Brush default settingsAntonio Vazquez
This patch replaces D5787. Now instead to replace the startup.blend file, all the changes are done in versioning and moved to shared module to be reused by Brush reset. Reviewers: brecht, mendio Reviewed By: brecht Subscribers: pepeland, mendio Differential Revision: https://developer.blender.org/D5913
2019-09-26Cleanup: fix compiler warningsBrecht Van Lommel
2019-09-26Sculpt: Brush default settingsPablo Dobarro
- Update default values of current tools - Create default values for new sculpt tools - Update the color of the cursor to match the color of the tool icon Reviewed By: jbakker, brecht Maniphest Tasks: T68745 Differential Revision: https://developer.blender.org/D5813
2019-09-25Fix T69542: Corrective Smooth modifier breaks when drivers are involvedSebastian Parborg
Previously the cache for the modifier would not be invalidated if modifier settings were changed with drivers or keyframes. Now we compare the current setting with the ones used to generate the cache and invalidate the cache if they differ. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D5694
2019-09-24Tracking: Highlight keyframes in path visualizationSergey Sharybin
This gives better idea of what's going on with your track. Example: {F693806} Color of keyframes are configurable from theme editor of clip editor. Reviewers: keir, brecht, Severin Differential Revision: https://developer.blender.org/D2772
2019-09-23Cleanup: remove Mesh.bb and Curve.bb, no reason for these to be persistentBrecht Van Lommel
These were only strictly valid for texture space calculation, don't store them since they should not be used after that. Only store a flag to indicate if the auto texture space has been evaluated. In the future it might make sense to store bounding boxes at the mesh level to speed up bounding box computation for multiple objects using the same mesh, but then it will need to be implemented differently.
2019-09-23Revert part of "GPencil: Invert Paste operator and make Paste to Active default"Brecht Van Lommel
This commit accidentally undid a bunch of previous commits. Only the intended changes are left now.
2019-09-20UI: Replace big options button in file browserJulian Eisel
The big options button in the lower left is now gone, it's replaced by a smaller icon toggle button in the upper right. That means I could also remove code for the region we had just for this button. I also added versioning code for the removal, to make sure the region is removed cleanly when reading old files.
2019-09-20Refactor: Ensure there's always a valid file editor tool regionJulian Eisel
So far the file browser code had some lazy creation for the tool region, even though it should always be there. The only reason I can see for this is compatiblity. So I simply added versioning code to add the region in case it's not there. Now we should be able to savely assume the tool region to be there, whithout any unusual lazy-creation.
2019-09-20Rewrite file region handling for non-editor modeJulian Eisel
This makes it so that regions only needed when the file browser is invoked as an operation (e.g. Ctrl+O rather than a regular editor) are lazy created then, and removed if the file browser is changed into a regular editor then (e.g. Ctrl+O over regular file browser editor -> Cancel). That should remove some troublesome assumptions and makes versioning redundant. It also fixes the issue of an empty execute region at the bottom after cancelling a file operation invoked from a regular file browser editor.
2019-09-19Fix T70074: Missing file execute region in some files (crashes)Julian Eisel
I'm not sure how a .blend file could get into this state, but apparently for some files saved with versions of Blender after the file browser changes, the execute region would not have been created. File browser code assumes this region to be there however. Luckily I found a file with which I could recreate the issue. My guess is that the error only happens with files that were stored before certain versioning fixes were done after the file browser redesign. To fix this, we just let the versioning code for the execute region run even with newest files. We can run this safely, it only acts if the execute region actually doesn't exist.
2019-09-19Fix T66154: viewlayer hide/exclude settings getting lost for linked collectionsBrecht Van Lommel
The problem was that the object and collection pointers in Base and LayerCollection would get lost of file read. Normally such ID pointers would be resolved by pointing to an ID_ID placeholder which has the datablock name, and then replacing it will the real datablock. However ID_ID is only written for directly linked datablocks. This adds the concept of an indirectly linked datablock with a weak reference to it. For this we write an ID_ID_WEAK_REF code, which is a reference that will only be resolved if the datablock was read for another reason. Differential Revision: https://developer.blender.org/D4416
2019-09-19Cleanup: spellingCampbell Barton
2019-09-18Fix preference for file browser and new window not being savedBrecht Van Lommel
The subversion should just be bumped for cases like this, it doesn't cost anything and functioning correctly is most important.
2019-09-18Revert "UI: Open file browser in fullscreen by default"Brecht Van Lommel
This reverts commit b962aca8003de89683c87c4da348579f756b75cd. We may revert to the fullscreen file browser if it's not good enough by the time of the 2.81 release. But then it first needs some changes since the in between state now is not good enough either.
2019-09-18Sculpt: Split original normal into original normal and planePablo Dobarro
This allows to create different effects with some brushes that use the sculpt plane. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5818
2019-09-18UI: Open file browser in fullscreen by defaultJulian Eisel
Fullscreen as in, maximized area. This may be a temporary change until we consider the temporary window mode as working well enough. Note that you can still enable the windowed mode in the Preferences (Interface > Editors > Temporary Windows).
2019-09-18UI: Preference for file browser as fullscreen areaJulian Eisel
Addes a Preference setting to choose between opening new file browsers in a maximized area (like with the old file browser) or in a new window (like the new one).
2019-09-18UI: Move render display type to PreferencesJulian Eisel
Moves the render display type (to choose between rendering in a new window, in a fullscreen area, in an Image Editor, etc) from the scene to the preferences.
2019-09-18Cleanup: includes for readfile.cCampbell Barton
2019-09-17Fix T69989: Correct Mapping node min/max versioning.OmarSquircleArt
The old min/max options specified the target min/max values, they didn't act as min/max operators. So the versioning code should be adjusted accordingly. Reviewers: brecht Differential Revision: https://developer.blender.org/D5828
2019-09-17Fix T69974: crashes in .blend files where 3D viewport was splitBrecht Van Lommel
This was caused by a missing copy of the recently adding 3D viewport shading ID properties.
2019-09-14VSE: prefetchingRichard Antalik
When enabled prefetching(preview panel>view settings), a pernament running job is created, that will render frames in the background until the cache is full. If the cache is not filled fast enough, prefetch job suspends itself at the last moment and will wait until it has chance to "catch up". Effectively this will decouple rendering to separate thread, so rendering itself is a bit faster. Cache recycling behavior will be changed to "free furthest frame to the left of playhead if possible, otherwise rightmost frame". Reviewed By: brecht Differential Revision: https://developer.blender.org/D5386
2019-09-13Cleanup: unused headers for readfile, versioningCampbell Barton
2019-09-13Per-Viewport Collection VisibilityDalai Felinto
Support per-viewport collection visibility options. Note 1: There is no way to show a collection that was not visible before due to depsgraph. Otherwise we would risk having all the collections in the depsgraph and I believe this is not the idea. An alternative would be to have a new depsgraph for viewports that are not local. Something to keep in mind if we do per-viewport current frame in the future. So for now what we do is to only allow collections visibility to be disabled/hidden in this mode. Note 2: hide_viewport (the eye icon) doesn't really matter for depsgraph. So after the merge we can still ignore it to show the collections locally in a viewport with no problems for the depsgraph. Reviewers: brecht, sergey Subscribers: billreynish Related task: T61327 Differential Revision: https://developer.blender.org/D5611