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-04-15CMake: sort file listCampbell Barton
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-10Cleanup: use STR_ELEM macroCampbell Barton
2019-04-09Cleanup: spellingCampbell Barton
2019-04-02Fix T63219: error in previous commit for makesdna mismatch detectionBrecht Van Lommel
2019-04-02DNA: add error for DNA computed struct sizes and member offsets mismatch.Brecht Van Lommel
Ref T63164, there was a hidden bug like this on Windows 32 bit.
2019-04-02Cleanup: remove DNA_PRIVATE_WORKSPACE hacks.Brecht Van Lommel
This is just not practical to do for the code as a whole, and having it as an exception for one specific data structure is not that helpful. This has only been in the way for me when refactoring code.
2019-03-28Cleanup: style, use braces for makesdna, datatocCampbell Barton
2019-03-19Cleanup: unused warningCampbell Barton
2019-03-04DNA: optimize data reconstructionCampbell Barton
Cache the result of DNA_elem_array_size which was being called for each element when reconstructing each struct. Also skip padding members during reconstruction. Gives ~18% overall speedup loading 10_010_A.anim.blend (r3154) from the spring project.# Please enter the commit message for your changes. Lines starting Note, this was reverted recently because it caused T62181 Changes to DNA_sdna_patch_struct_member_nr were needed which caused issues loading old 2.8x files.
2019-03-04Revert "DNA: optimize data reconstruction"Campbell Barton
This reverts commit 657205530cc680012734200a8babd6232be5ee92. This caused an T62181, looking into fix but revert for now.
2019-03-03DNA: optimize data reconstructionCampbell Barton
Cache the result of DNA_elem_array_size which was being called for each element when reconstructing each struct. Also skip padding members during reconstruction. Gives ~18% overall speedup loading 10_010_A.anim.blend (r3154) from the spring project.
2019-03-03DNA: rename BezTriple alfa to tiltCampbell Barton
2019-03-02Cleanup: comma warningCampbell Barton
2019-03-02Cleanup: SDNA/DNA namingCampbell Barton
Use 'size' instead of 'len' to represent the size of data in bytes, 'len' is used for the result of 'strlen' or the length of an array in some parts of 'makesdna.c' & 'dna_genfile.c'. Also clarify comments and some variable names, no functional changes.
2019-02-27makesdna: enforce use of '_pad' naming conventionCampbell Barton
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-26Cleanup: indentation, trailing spaceCampbell Barton
2019-02-23Cleanup: quiet undeclared variable warningCampbell Barton
2019-02-19DNA: rename Object.col -> colorCampbell Barton
Was confusing, unrelated to: colbits, col_mask, col_group, actcol & totcol.
2019-02-18DNA: rename Object.size -> scaleCampbell Barton
Resolves a common cause of confusion.
2019-02-18DNA: rename Collection.dupli_ofs -> instance_collectionCampbell Barton
2019-02-18DNA: support renaming structs that use the old renaming hackCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-18DNA: comment on how to avoid DNA rename errorsCampbell Barton
2019-02-17DNA: rename dup_* struct members to instance_*Campbell Barton
2019-02-16DNA: rename theme space typesCampbell Barton
Follow enum naming convention, use "space_" prefix instead of "t".
2019-02-16DNA: ensure new names exist when renamingCampbell Barton
Fail to build on errors in new names - without this renamed values would be written to DNA breaking backwards & forwards compatibility. Note that errors in old names aren't detected.
2019-02-16DNA: rename near/far -> clip_start/clip_endCampbell Barton
Rename for Camera, View3D (also CameraParams & Render not DNA)
2019-02-16DNA: rename SpaceButs -> SpacePropertiesCampbell Barton
2019-02-16DNA: rename SpaceIpo -> SpaceGraphCampbell Barton
2019-02-16DNA: rename SpaceOops -> SpaceOutlinerCampbell Barton
2019-02-16DNA: rename camera YF_dofdist -> dof_distanceCampbell Barton
2019-02-16DNA: support DNA type & name aliasesCampbell Barton
This allows us to rename struct & struct members in the source code without changing the file format. This is useful because the code becomes increasingly confusing when names such as oops, ipo & dupli aren't used anywhere except DNA headers. dna_rename_defs.h is used to define renaming operations. The renaming it's self will be done separately.
2019-02-16DNA: warn about old versioning being incompleteCampbell Barton
Also sync variable names w/ D4342
2019-02-15Fix DNA struct member versioning logicCampbell Barton
Possible error changing names which are shared between structs. While the problem doesn't occur at the moment, avoid future problems.
2019-02-15Cleanup: sync minor changes from D4342Campbell Barton
Use naming conventions from the patch so they match when it's applied.
2019-02-15makesdna: correct function docsCampbell Barton
Also use doxy sections & remove parens from return values.
2019-02-14DNA: add in-place stripping utilityCampbell Barton
Minor change from D4342
2019-02-13Cleanup: rename variable name for DNA utilsCampbell Barton
Rename 'elem_dna' to 'elem_full' to signify it has array/pointer chars.
2019-02-12Cleanup: move utility functions into dna_utilsCampbell Barton
Rename old/new to src/dst since renaming happens in both directions when versioning.
2019-02-12makesdna: add shared utility moduleCampbell Barton
Currently only a single function was duplicated which isn't so bad, this change is to allow DNA versioning code to be shared between dna_genfile.c and makesdna.c.
2019-02-12makesdna: use memarena for string allocationsCampbell Barton
Include it since versioning code will need to perform small string allocations too, which doesn't fit will into the currently used fixed size buffers.
2019-02-12Cleanup: use printf define in makesdnaCampbell Barton
2019-02-12DNA: support versioning structs & struct membersCampbell Barton
This is only to be used rarely because it's not forwards compatible. Replace version patching of old 2.80 DNA with a more generic API.
2019-02-11Cleanup: avoid string copy for comparing int id'sCampbell Barton
More direct and readable.
2019-02-10Cleanup: unused struct memberCampbell Barton
Also replace intptr_t -> int (no good reason to cast to intptr here).
2019-02-06Cleanup: manually apply changes missed last commitCampbell Barton
Automatic edits failed for indented comment blocks, removed indentation & adjusted.