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
2021-07-15Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text")Campbell Barton
This shows the text as part of the assertion message.
2021-07-03Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXXCampbell Barton
Also use doxy style function reference `#` prefix chars when referencing identifiers.
2021-06-24Cleanup: comment blocks, trailing space in commentsCampbell Barton
2021-06-22Cleanup: Spelling MistakesLeon Zandman
This patch fixes many minor spelling mistakes, all in comments or console output. Mostly contractions like can't, won't, don't, its/it's, etc. Differential Revision: https://developer.blender.org/D11663 Reviewed by Harley Acheson
2021-06-10Cleanup: move endian values from BKE_global into BLI_endian_definesCampbell Barton
This change was prompted by D6408 which moves thumbnail extraction into a shared function that happens use these endian defines but only links blenlib. There is no need for these defines to be associated with globals so move into their own header.
2021-03-15Writefile: only include recovery info in auto-save & quit.blendCampbell Barton
Previously all blend files included the path they were saved, causing files distributed publicly to include users local paths. This also included developers home directories for startup & userprefs defaults & app-templates bundled with Blender. Now recovery information is only written for auto-save & quit.blend since this is the only time they're intended to be used.
2021-03-04Cleanup: Main `foreach ID` code: Remove `MAX_LIBARRAY` and improve comments.Bastien Montagne
The `MAX_LIBARRAY` define was an annoying doublon to the `INDEX_ID_MAX` enum value now defined in `DNA_ID.h`, and it is no more useful. And comments were somewhat outdated. Also added an explanation about chosen order for the `INDEX_ID_<IDTYPE>` order.
2020-12-15Blenloader: Add utility function to write double arrayHans Goudey
It makes sense to support writing double arrays just like floats. This is just split from a patch (D9697) to slim it down some.
2020-12-15Asset System: Support custom asset library paths through PreferencesJulian Eisel
One of the core design aspects of the Asset Browser is that users can "mount" custom asset libraries via the Preferences. Currently an asset library is just a directory with one or more .blend files in it. We could easily support a single .blend file as asset library as well (rather than a directory). It's just disabled currently. Note that in earlier designs, asset libraries were called repositories. Idea is simple: In Preferences > File Paths, you can create custom libraries, by setting a name and selecting a path. The name is ensured to be unique. If the name or path are empty, the Asset Browser will not show it in the list of available asset libraries. The library path is not checked for validity, the Asset Browser will allow selecting invalid libraries, but show a message instead of the file list, to help the user understand what's going on. Of course the actual Asset Browser UI is not part of this commit, it's in one of the following ones. {F9497950} Part of the first Asset Browser milestone. Check the #asset_browser_milestone_1 project milestone on developer.blender.org. Differential Revision: https://developer.blender.org/D9722 Reviewed by: Brecht Van Lommel, Hans Goudey
2020-12-15Cleanup: reduce indirect DNA header inclusionCampbell Barton
Remove DNA headers, using forward declarations where possible. Also removed duplicate header, header including it's self and unnecessary inclusion of libc system headers from BKE header.
2020-11-12Cleanup: spellingCampbell Barton
2020-11-06Cleanup: remove unused includes in readfile.c and writefile.cJacques Lucke
2020-11-06Cleanup: fix naming and remove unnecessary codeJacques Lucke
2020-11-06Refactor: move Object .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-11-06Refactor: move Pose .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move Constraint .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move MotionPath .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move gpencil modifier .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move modifier .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move ShaderFx .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move ParticleSystem .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move Scene .blend writing to IDTypeInfo callbackJacques Lucke
2020-11-06Refactor: move PointCache .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move sequencer modifier .blend I/O to sequencer moduleJacques Lucke
Ref T76372.
2020-11-06Refactor: move color settings .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move LightCache .blend I/O to eevee_lightcache.cJacques Lucke
Ref T76372.
2020-11-06Refactor: move remaining ViewLayer .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Cleanup: remove unnecessary functionJacques Lucke
2020-11-06Refactor: move Paint .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-11-06Refactor: move wmWindowManager .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-11-02UI: Enable writing global area data (top-bar, status-bar) to .blend'sJulian Eisel
There should not be much user visible here (other than T73668 being addressed). I added the writing code already for the initial implementation of workspaces, but we decided to keep it disabled until the top-bar design is more clear. It was never planned to keep this disabled for so long. Fixes T73668.
2020-11-01Rename BKE_sequencer.hRichard Antalik
Reviewed By: sergey Differential Revision: https://developer.blender.org/D9349
2020-10-30Refactor: move WorkSpace .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-10-30Refactor: move bScreen .blend I/O to IDTypeInfo callbacksJacques Lucke
I could not easily move `direct_link_screen` yet, because it has a return value. That has to be solved differently at some point.
2020-10-30Refactor: move Area .blend I/O to blenkernelJacques Lucke
There should be no functional changes. Eventually, it would be good to handle the different space types using callbacks. Ref T76372.
2020-10-30Refactor: move view3dshading .blend I/O to blenkernelJacques Lucke
Ref T76372.
2020-10-30Refactor: move ParticleSettings .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-10-29Refactor: move Collection .blend I/O to IDTypeInfo callbacksJacques Lucke
This one was a bit more tricky, because the file loading is mixed with versioning code and because collections are embedded into scenes. All tests that passed before, still pass.
2020-10-10Cleanup: use C comments for descriptive textCampbell Barton
Follow our code style guide by using C-comments for text descriptions.
2020-09-29DNA: use better type for SDNA->structsJacques Lucke
The data layout remains exactly the same.. This change just gives all the elements in `SDNA->structs` names, making it more comfortable to work with the data. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D8926
2020-09-21Implement ID properties support for TimeMarkerSergey Sharybin
Allows scripters to store additional information in the marker itself instead of using work-around approach based on marker names and such. Differential Revision: https://developer.blender.org/D8944
2020-09-20Sanitize type 'size' parameters in our read/write file codeBastien Montagne
This patch tries to sanitize the types of our size parameters across our read and write code, which is currently fairly inconsistent (using `int`, `uint`, `size_t`...), by using `size_t` everywhere. Since in Blender file themselves we can only store chunk of size `MAX_INT`, added some asserts to ensure that as well. See {T79561} for details. Differential Revision: https://developer.blender.org/D8672
2020-09-15Cleanup: spellingCampbell Barton
2020-09-14Fix T78392: [2.83.5, 2.90, 2.91] Crash on undo/ redo after changing modes.Bastien Montagne
During undo/redo read code is expected to clear the `OB_MODE_EDIT` bitflag of `Object.mode`, for some reasons. This was not done anymore for re-used Objects, we need to add a special handling case for that too. Should be backported to 2.90 and 2.83 (will probably not be straight forward for the latter).
2020-09-11Cleanup: remove unused includesJacques Lucke
2020-09-11Refactor: move CacheFile .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move Sound .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move Simulation .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move Volume .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move PointCloud .blend I/O to IDTypeInfo callbacksJacques Lucke