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-06-05Code Cleanup: fcurve function namingJeroen Bakker
2020-06-05Cleanup: spellingCampbell Barton
2020-06-04Fix error removing the image paint cursorCampbell Barton
Mix up with imapaint.paintcursor & imapaint.paint.paint_cursor Remove imapaint.paintcursor since it wasn't used. Also rename paint_cursor_start_explicit() to paint_cursor_start(), removing the existing paint_cursor_start() since it took the paint struct from the context, a value that's known by all callers.
2020-06-03Cleanup: clang format, warningCampbell Barton
2020-06-03Undo: Detect/find proper memchunk for a given ID during undo step writing.Bastien Montagne
Most of the time current (based on order) system works fine, but when you add or rename (i.e. re-sort) some ID, every data/memchunk afterwards would be out of sync and hence re-stored in memory (and reported as changed). Now we are storing the ID's session_uuid in the memchunks, which allows to actually always find the first memchunk for an already existing ID stored in previous undo steps, and compare the right memory. Note that current, based-on-order system is still used almost all of the time, search in the new ghash is only performed for a few data-blocks (when needed at all). Reviewed By: brecht Maniphest Tasks: T60695 Differential Revision: https://developer.blender.org/D7877
2020-06-02Revert "UI: Fix T77173: Report Background Colors for 2.83 Release"Hans Goudey
This reverts commit 7fc0053c27e5e9ba3cc946898c7c11a8545f2777.
2020-06-02Merge branch 'blender-v2.83-release'Hans Goudey
2020-06-02UI: Fix T77173: Report Background Colors for 2.83 ReleaseHans Goudey
This is a temporary solution for T77173 for the 2.83 release. D7203 provides a more long term solution for future releases. This adds theme colors for the three report backgrounds, setting them to the color used in 2.82. A separate commit in the addons repository will follow for changes to the bundled themes. Differential Revision: https://developer.blender.org/D7908
2020-06-02Fix utterly broken versionning code for weight modifier.Bastien Montagne
Own fault in some recent patch rewiew/commit...
2020-05-30Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-30GPencil: Fix unreported wrong Sculpt brushes initialization in TemplatesAntonio Vazquez
The Sculpt brushes were not properly initialized when use 2D template or other templates. Also, using the default template (not factory settings) could be situations where the brushes were not updated. This problem was introduced when some versioning code was removed in order to avoid duplicated brush creation.
2020-05-29Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-29Blender: change bugfix release versioning from a/b/c to .1/.2/.3Brecht Van Lommel
The file subversion is no longer used in the Python API or user interface, and is now internal to Blender. User interface, Python API and file I/O metadata now use more consistent formatting for version numbers. Official releases use "2.83.0", "2.83.1", and releases under development use "2.90.0 Alpha", "2.90.0 Beta". Some Python add-ons may need to lower the Blender version in bl_info to (2, 83, 0) or (2, 90, 0) if they used a subversion number higher than 0. https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Python_API#Compatibility This change is in preparation of LTS releases, and also brings us more in line with semantic versioning. Fixes T76058. Differential Revision: https://developer.blender.org/D7748
2020-05-29Undo: Writefile: fix 'id changed' detected when resorting IDs.Bastien Montagne
The ListBase next/prev pointers will change everytime you add or rename an ID, also for 'neighbors' data-blocks in the list, causing unnecessary 'changed' detection. This info is not needed in blendfile anyway, so just NULLify it.
2020-05-28Readfile: move all calls to 'id_us_ensure_real' to direct_link functions.Bastien Montagne
That kind of 'own' ID management has really nothing to do in lib_link code.
2020-05-28Cleanup: spellingCampbell Barton
2020-05-26Modifiers: Add normalize weights option to vertex weight modifiersCody Winchester
Original patch by Cody Winchester (@CodyWinch), several fixes and cleanup by Bastien Montagne (@mont29). Differential revision: https://developer.blender.org/D7656
2020-05-26Cleanup/refactor: Workspace API, boilerplate code, early exitJulian Eisel
* Simplify workspace API a bit * Comment on behavior of workspace-layout relations where exposed in API * Remove annoying getters/setters * Avoid lookups if we can early exit * A NULL check is removed in `direct_link_workspace()` that I don't see a need for. Am not 100% sure though, fingers crossed. In general these changes should improve readability and make things easier to reason about.
2020-05-26Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-26Fix/Cleanup: Move some animdata versioning code out of liblinking process.Bastien Montagne
This was propably added way before we had the after-lib-link versionning code, but now doing that sort of fixes at liblink time is bad.
2020-05-26Cleanup: Create afterliblink doversion for 2.90... and move relevant code there.Bastien Montagne
Seriously... Please comply with design and do not add 2.9x versionning code to 2.8x versioning functions!
2020-05-26Fix T68209: Crash opening pre 2.8 file with maximized areaJulian Eisel
Versioning for workspaces didn't update the map used to determine which layout is active for a workspace in a specific window. Library code now called the function to make a workspace active (even if it already was active), which would also use this map to determine the active layout -- the wrong one. Error in initial workspace integration, but only uncovered recently. Likely through 0d8a8ce03b99.
2020-05-26Curves: Implement Handles for selected points onlyAntonio Vazquez
When editing a complex curve is very annoying to have all handles at a time. Also, this is a requirement for the current GSoC Edit Grease Pencil using curves. I have seen that this improvement can be used in any other area of blender, so I have decided to publish the option in the overlay panel.. Reviewed By: fclem, #user_interface, billreynish, Severin Differential Revision: https://developer.blender.org/D7754
2020-05-25Cleanup wrong format specifier in a debug printf.Bastien Montagne
2020-05-25Fix T73164: Undo does not always properly clear no-more-used library data.Bastien Montagne
Solution is actually very simple, and even makes existing code simpler: just write all lib IDs when storing and undo step. That way we do not have to guess which indirectly used library should be kept or not after an undo step reading.
2020-05-20Merge branch 'blender-v2.83-release'Bastien Montagne
2020-05-20Fix T76883: Zero users scenes after undo.Bastien Montagne
Some tags need to be preserved when we reuse existing ID entirely. AFAICT, currently this is only the EXTRAUSER one.
2020-05-20Cleanup: compiler warningBrecht Van Lommel
2020-05-20Fix Cycles viewport render fully restarting after undoBrecht Van Lommel
With the optimized undo datablock pointers remain the same, so Cycles can now update just the parts that changed.
2020-05-20Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-18Curves: Disable Curve Normals by defaultAntonio Vazquez
This patch just disable the curve Normals by default. Reviewed By: #user_interface, billreynish, Severin Differential Revision: https://developer.blender.org/D7755
2020-05-15Merge branch 'blender-v2.83-release'Bastien Montagne
2020-05-15Fix embedded IDs not being enough/properly initialized.Bastien Montagne
Among other things, they were missing library pointer, session uuid initialization, etc. Fix T74546: Corrupted nodegroups crash blender when copy pasting or appending them. Fix (unreported) asserts when undoing some production scenes (from coffee run e.g.). Initialy caused by rB0aac74f18f2d.
2020-05-15Merge branch 'blender-v2.83-release'Bastien Montagne
2020-05-15Cleanup: rename readfile utils dealing with embedded IDs to proper name.Bastien Montagne
2020-05-15Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-15GPencil: Fix unreported missing Sculpt/Vertex/Weight paint brushesAntonio Vazquez
This error was introduced wit the change in commit https://developer.blender.org/rB6a850f3cc840 As the brushes were not created, all modes except Edit were broken. Now, the brushes and palette are not created when load the file in versioning code, but when the mode is enabled. Also, if the brush already exist, the parameters are not reset as it was done in the versioning code in order to keep user settings. The same logic is used for the default palette.
2020-05-15Fix T76738: Duplicate brushes cause assertion on undoCampbell Barton
Changes for 2.90 versioning.
2020-05-15Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-15Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-15Fix T76738: Duplicate brushes cause assertion on undoCampbell Barton
2020-05-15Fix duplicate ID's being created when appending/linkingCampbell Barton
This removes grease pencil brush creation/dat-block delete on load, since this causes duplicate data-blocks. Add assert to prevent this happening in the future since the error is isn't obvious.
2020-05-14GPencil: Remove creation of Tint brush in versioning codeAntonio Vazquez
This is not required.
2020-05-14Merge branch 'blender-v2.83-release'Jeroen Bakker
2020-05-14Cleanup: Remove uneeded loopAntonio Vazquez
The Region loop was not required.
2020-05-13Merge branch 'blender-v2.83-release'Pablo Dobarro
2020-05-13Fix T75347: Update cloth brushes in versioning with a valid mass valuePablo Dobarro
The file attached in the report has a cloth brush saved with a particle mass of 0.0, which causes all sort of issues in the solver. I don't know how that brush was created, but it does not seems to be possible to do in the current version (reset values are correct, property limits are correct and a default brush is created in versioning_defaults). This resets all brushes with an invalid value to 1.0. Reviewed By: jbakker Maniphest Tasks: T75347 Differential Revision: https://developer.blender.org/D7698
2020-05-12Merge branch 'blender-v2.83-release'Antonio Vazquez
Conflicts: release/scripts/startup/bl_ui/properties_render.py source/blender/blenkernel/BKE_blender_version.h
2020-05-12GPencil: Add new parameter for SMAA thresholdAntonio Vazquez
This parameter allows to define the threshold for SMAA algorithm. Differential Revision: https://developer.blender.org/D7708
2020-05-12Preferences: Customize default empty size for collection instancesJacques Lucke
The old value (1.0) was often too large in practice. When many collection instances are created, the large empties create a mess in the viewport. This adds a new preference setting in `Editing -> Objects -> New Objects` called `Instance Empty Size`. The value will be used as display size for new empties containing a collection instance. Reviewers: Severin Differential Revision: https://developer.blender.org/D7650