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-03-19Cleanup: comment blocksCampbell Barton
2019-03-13Fix T58721: Keyframing one transform option reset other transformsSergey Sharybin
Use dedicated flag to tag animation just for copy-on-write synchronization, which makes it so copies of the original data blocks gets in sync with the original ID. This will not flush the animation update to all objects which depend on that animation. If such flush is required, use ID_RECALC_ANIMATION. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4508
2019-02-27Cleanup: better names and comments for library ID linking code.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D4415
2019-02-27Cleanup: use '_pad' convention for padding in all DNA structsCampbell Barton
Avoids mixing these in with regular variables in code-completion. Use char for pad members except for 'void *', to make size clearer. Removed/shrink a few redundant padding vars which were >= 8 bytes.
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-26Merge branch 'blender2.7'Brecht Van Lommel
2019-02-26Cleanup: prevent future issues with ID.tag overflow, clarify somes names.Brecht Van Lommel
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-15Cleanup: Attempt to clarify some ID_RECALC flagsSergey Sharybin
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-15Cleanup: comment line length (DNA)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Cleanup: comment line length (DNA)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-07Cleanup: move DNA comments before struct membersCampbell Barton
Needed for clang-format in some cases, see: T53211
2018-12-07Remove unused particle system recalc flagSergey Sharybin
2018-12-07Cleanup, typo in namingSergey Sharybin
\Something went wrong in the rename script..
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-09-24Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3719
2018-09-24Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-24Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3719
2018-08-14Sync rna_access rna property update cow check with depsgraphDalai Felinto
This is a manual synchronization. If we need to re-use the same util in both areas it would be welcomed as well. For now this at least get things back to a working state.
2018-07-31New Grease Pencil object for 2D animationAntonioya
This commit merge the full development done in greasepencil-object branch and include mainly the following features. - New grease pencil object. - New drawing engine. - New grease pencil modes Draw/Sculpt/Edit and Weight Paint. - New brushes for grease pencil. - New modifiers for grease pencil. - New shaders FX. - New material system (replace old palettes and colors). - Split of annotations (old grease pencil) and new grease pencil object. - UI adapted to blender 2.8. You can get more info here: https://code.blender.org/2017/12/drawing-2d-animation-in-blender-2-8/ https://code.blender.org/2018/07/grease-pencil-status-update/ This is the result of nearly two years of development and I want thanks firstly the other members of the grease pencil team: Daniel M. Lara, Matias Mendiola and Joshua Leung for their support, ideas and to keep working in the project all the time, without them this project had been impossible. Also, I want thanks other Blender developers for their help, advices and to be there always to help me, and specially to Clément Foucault, Dalai Felinto, Pablo Vázquez and Campbell Barton.
2018-07-10DrawData: Change drawdata to a generic struct shared accross ID typesClément Foucault
This makes tagging much more generic and make the world updates more in line with the new tagging system (Depsgraph).
2018-06-22Outliner: Aggregate ID types and object types together with numbersDalai Felinto
We draw small numbers over the icon of multiple objects of the same type. Also, we make all inlined elements to be non-clickabled. For modifiers we still do it the old way. In this case it is more important to see the order then the ammount. Reviewers: brecht, campbellbarton Subscribers: billreynish, venomgfx Design task and mockup: T54707 Differential Revision: https://developer.blender.org/D3497
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: trailing space for DNA headersCampbell Barton
2018-06-09Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/space_view3d/drawobject.c
2018-06-09Cleanup: remove some G.main usages.Bastien Montagne
2018-06-05Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/blendfile.c source/blender/blenloader/intern/readfile.h source/blender/blenloader/intern/versioning_250.c source/blender/blenloader/intern/versioning_260.c source/blender/blenloader/intern/versioning_270.c source/blender/blenloader/intern/versioning_legacy.c source/blender/editors/render/render_shading.c source/blender/makesrna/intern/rna_movieclip.c source/blender/render/intern/source/pipeline.c source/blender/render/intern/source/voxeldata.c
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
2018-06-04Fix crash when making objects to share same meshSergey Sharybin
Make it more reliable and predictable way of getting pointer to an original mesh which came from copy-on-write engine. Related change: made it (hopefully) more clear name for flags.
2018-06-04Cleanup: Use proper type for original ID pointerSergey Sharybin
Helps debugging, no need to cast in a debugger.
2018-05-31Depsgraph: Remove unused flagsSergey Sharybin
They are no longer needed after the active depsgraph concept is here.
2018-05-30Fix unnecessary Cycles render updates when selecting objects.Brecht Van Lommel
2018-05-24Depsgraph: tag depsgraph for copy-on-write flush when RNA changesDalai Felinto
Fixes bug with changes to properties not being flushed to the COW data. It fixes T55144. This is the part of rBb4b745b72064 that is required although slow. Which was partially addressed but the rest of the commit, which in turn broke things. So for now let's get RNA to flush slow cow, and deal with the consequences.
2018-05-23Revert "Depsgraph: refresh RNA that doesn't need a full rebuild"Joshua Leung
This reverts commit b4b745b72064ee7d3d8b0245ac8e8358b7fd07a3. This was causing a problem in 01_025_A.anim.blend from the Spring production files, where selecting one of Autumn's bones would result in character jumping back to the origin.
2018-05-23Depsgraph: refresh RNA that doesn't need a full rebuildCampbell Barton
Fixes bug with changes to properties not being flushed to the COW data.
2018-05-02Static Override: Move 'auto' flag into override struct, expose it to RNA.Bastien Montagne
2018-05-01Mark localized node trees and materials as suchSergey Sharybin
Makes it easier to see where the datablock is coming from.
2018-04-25Depsgraph: Introduce flag top indicate scene is evaluating for a new frameSergey Sharybin
2018-04-18Make depsgraph tag for auto-override IDs it updates.Bastien Montagne
This will reduce amount of needless auto-override checks, at least when not touching anything related to overriding IDs...
2018-04-18Cleanup: rename 'static override regarding reference ID' tag.Bastien Montagne
Just 'OK' was waaayyyyyy too generic!
2018-04-17Update/improve handling of 'overridable' status of properties.Bastien Montagne
Main new thing in this commit is ability for real IDProps (aka custom properties) to be set as overridable or not, they are not by default.
2018-04-17Depsgraph: Fix unwanted node tree copy-overSergey Sharybin
Was caused by two things from the past: - Tagging would set id->recalc to COW update flag. This one is to be ignored. - Particle tagging will use psys recalc flags on id->recalc, but we only need to use flags from particles. Otherwise it will be some collisions in bit masks.
2018-04-12Depsgraph: Introduce ID recalc flag for COW componentSergey Sharybin
Currently unused, but will become handy to check whether ID needs to have COW update to be run.
2018-02-22Revert "BKE: Changing ID freeing order."Campbell Barton
This reverts commit 87c72a7d2714de286109573055d5d5da32ece91e. Caused T54121 which breaks blend file saving. For now crash on exit is preferable. Possible solution is to free screen-manipulator batches in a separate loop.