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
2022-08-12Cleanup: use sizeof() for better readabilityCampbell Barton
2022-07-15Fix T99711: Eternal loop reading blend file thumbnailCampbell Barton
Account for negative BHead length (already handled by blend file loading).
2022-07-14Fix T99705: fix integer overflow in thumbnail extractorRay Molenkamp
It was smart enough to check if the buffer had the right size but neglected to cast to a 64 bit value so it overflowed. Differential Revision: https://developer.blender.org/D15457 Reviewed By: brecht
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-12-08Cleanup: move public doc-strings into headers for 'blendthumb'Campbell Barton
Ref T92709
2021-10-20Cleanup: use elem macrosCampbell Barton
2021-10-20Thumbnails: refactor extraction to use one code-path for all platformsCampbell Barton
Thumbnail extraction now shares code between Linux/Windows, allowing thumbnails from Zstd compressed blend files to be extracted. The main logic is placed in blendthumb_extract.cc and is built as static library. For windows there is DLL which is registered during blender install and which then reads and generates thumbnails. For other platforms there is blender-thumbnailer executable file which takes blend file as an input and generates PNG file. As a result Python script blender-thumbnailer.py is no longer needed. The thumbnail extractor shares the same code-path as Blenders file reading, so there is no need to duplicate any file reading logic. This means reading compressed blend files is supported (broken since the recent move Zstd compression - D5799). This resolves T63736. Contributors: - @alausic original patch. - @LazyDodo windows fixes/support. - @campbellbarton general fixes/update. - @lukasstockner97 Zstd support. Reviewed By: sybren, mont29, LazyDodo, campbellbarton Ref D6408
2021-10-01Cleanup: use C-style comments, nullptr for C++Campbell Barton
Minor changes extracted from D6408
2021-02-06UI: Fix Typos in Comments and Docsluzpaz
Approximately 91 spelling corrections, almost all in comments. Differential Revision: https://developer.blender.org/D10288 Reviewed by Harley Acheson
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-12Cleanup: spelling, clang-formatCampbell Barton
2020-03-11Windows: Clean-up warning while building blendthumbRay Molenkamp
Casting a 64 bit pointer to a 32 bit DWORD gave 2 warnings. Solved by storing the actual DWORD in the registry table. Would have preferred to use a union, but C++ doesn't let you initialize anything other than the first field, and C99 style initializers are not supported until C++20, so this solution will have to do until then.
2019-09-09Cleanup: expand tabsCampbell Barton
2019-09-07Cleanup: style, spellingCampbell Barton
2019-08-30Cleanup: clang-formatRay Molenkamp
2019-08-30MSVC: Fix BlendThumb debug build.Ray Molenkamp
Spotted by @deadpin on chat
2019-08-30Windows: Move building of blendthumb into the blender codebase.Ray Molenkamp
Previously this was done in the deps builder due to the fact we needed both 32 and 64 bit versions of this dll and CMAKE does not support that in a single build folder. Now that 32 bit support has been dropped, this can be safely moved into the codebase. Reviewers: brecht Differential Revision: https://developer.blender.org/D5633