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-05Cleanup: compiler warningCampbell Barton
2020-06-05Refactor: use new api in write_customdataJacques Lucke
2020-06-05Refactor: use new api for writing modifiersJacques Lucke
2020-06-05Refactor: use new api in write_nodetree_nolibJacques Lucke
2020-06-05Refactor: use new api in write_animdataJacques Lucke
2020-06-05Fix T77396: crash in memfile undo code after recent optimizations.Bastien Montagne
Optimizations in rBcda15408582e8de5b405 do not guarantee anymore that consecutive memchunks in two consecutive undo steps are actually about the same data (and hence can share the same buffer when unchanged). This buffer sharing can now happen without any particular order, so we need to change the process when 'merging' two undo memfiles together. Note that existing code was not logically correct either, even with previous undo storage code, since it would blindly transfer ownership of the buffer to the second memchunk, without checking whether the first one was actually the owner of it or not (a same buffer can be shared by matching memchunks in many consecutive memfiles/undo steps).
2020-06-05Refactor: use new api in write_iddataJacques Lucke
2020-06-05Refactor: use new api for writing object, mesh and particlesettingsJacques Lucke
2020-06-05Refactor: use new api for writing camera, lattice, vfont and keyJacques Lucke
2020-06-05Refactor: use new api for writing curve, mball, image, light, world, ↵Jacques Lucke
material and texture
2020-06-05Refactor: use new api for writing collection, action and gpencilJacques Lucke
2020-06-05Refactor: use new api in write_sceneJacques Lucke
2020-06-05Refactor: use compile time dna struct ids in blenloader apiJacques Lucke
2020-06-05Refactor: use new api for writing linestyle, cachefile, hair, pointcloud, ↵Jacques Lucke
volume and simulation
2020-06-05Refactor: use new api for writing movieclip, mask, probe, nodetree, brush, ↵Jacques Lucke
palette and paintcurve
2020-06-05Refactor: use new api for writing screen, armature, text and speakerJacques Lucke
2020-06-05Refactor: use new api in write_workspaceJacques Lucke
2020-06-05Refactor: use new api in write_windowmanagerJacques Lucke
2020-06-05Refactor: Move IDProperty writing to new APIJacques Lucke
2020-06-05Blenloader: New API that will be used for blenloader decentralizationJacques Lucke
Design Task: T76372 This part of a larger refactoring towards a more extensible architecture in Blender: T75724 The API is defined in `BLO_read_write.h`. It adds the small data structures `BlendWriter`, `BlendDataReader`, `BlendLibReader` and `BlendExpander`. Those contain context about the current read/write operation. Furthermore, it adds many functions with the prefixes `BLO_write_*`, `BLO_read_*` and `BLO_expand_*`. Lib linking and expanding will probably be handled by the more generic libquery system eventually. The corresponding parts of the API can be removed then.
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