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-02-26Cleanup: indentation, trailing spaceCampbell Barton
2019-02-21Fix assert w/ multi-dimensional array printingCampbell Barton
Own oversight adding assert, result from MEM_allocN_len may be padded.
2019-02-21Fix T61563: Info space prints matrices as flat tupleSebastian Parborg
Add support for printing multi-dimensional arrays.
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-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-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-26Fix incorrect sizeof use in rna array formattingCampbell Barton
2019-01-19Cleanup: add trailing commasCampbell Barton
Prevents clang-format merging into a single line.
2019-01-06Cleanup: add trailing commas to structsCampbell Barton
Needed for clang formatting to workaround bug/limit, see: T53211
2018-12-24Fix/cleanup typos and such in UI messages (and some comments).Bastien Montagne
2018-12-19RNA: support setting default values for custom properties.Alexander Gavrilov
NLA requires a usable default value for all properties that are to be animated via it, without any exceptions. This is the real cause of T36496: using the default of 0 for a scale related custom property obviously doesn't work. Thus, to really fix this it is necessary to support configurable default values for custom properties, which are very frequently used in rigs for auxiliary settings. For common use it is enough to support this for scalar float and integer properties. The default can be set via the custom property configuration popup, or a right click menu option. In addition, to help in updating old rigs, an operator that saves current values as defaults for all object and bone properties is added. Reviewers: campbellbarton, brecht Differential Revision: https://developer.blender.org/D4084
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
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-11-19RNA: re-enable update notifier flagsCampbell Barton
This was causing too many missing updates and each need investigation which won't happen before beta.
2018-11-15RNA: always allow fallback from defaultarray to defaultvalue.Alexander Gavrilov
The python getters for the array already allowed that, but not the actual C RNA access functions. This is inconsistent, so implement the fallback in all cases. Now if by default the property should contain the same value in all positions, it is not necessary to actually use an array. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3940
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Paint: update shortcut detection for new logicCampbell Barton
2018-10-22Fix T56636: Custom property cannot be animatedSergey Sharybin
No need to tag object for time update, with new dependency graph this forces animation to be re-evaluated, which is not something we want in this instance. Same patch/solution Philipp Oeser came to as well.
2018-10-19Make Static Override optional/hidden by default.Bastien Montagne
That feature will not be ready (or at least, not tested enough) to be officially part of 2.80 beta. So we disable it by default, hidding it behind a startup option (`--enable-static-override`), and a python app var (`bpy.app.use_static_override`). That way, people who really want to play with it can do it easily, while not exposing/enabling non-production-ready feature by default. Note that underlying override code remains active, i.e. files we do have overridden data-blocks will be loaded correctly according to static override.
2018-10-17RNA: disable notifiers from property updatesCampbell Barton
This was re-enabled because it made copy-on-write bugs hard to track down. Since copy-on-write implementation has been simplified this isn't a problem anymore.
2018-10-11Merge branch 'master' into blender2.8Campbell Barton
2018-10-11Cleanup: style (pointers)Campbell Barton
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-07-26Merge branch 'master' into blender2.8Campbell Barton
2018-07-26Cleanup: Use const argumentCampbell Barton
2018-07-06UI/Python: rename Lamps to Lights, to follow more standard terminology.Brecht Van Lommel
Internally it's still mostly named lamps, though some modules like Cycles were already calling them lights.
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-29Refactor static override code to pass Main around.Bastien Montagne
Access to main database is actually rarely needed, but some custom 'apply' functions do need it (like Collections' overriding of objects or children collections).
2018-06-28Static Override: RNA apply code: pass extra 'item_ptr' to apply callbacks.Bastien Montagne
This is unused currently, but is mandatory for incomming support to Collections objects and children items override support.
2018-06-28RNA path: add way to get both valid ptr/prop pair, and final item ptr.Bastien Montagne
This will be much useful in some cases, at least in override area it is needed (avoids searching again for the overriden item in a collection).
2018-06-28Proper fix for RNA path evaluation of collection items.Bastien Montagne
Following RNA pointer way - only return evaluated item if asked for.
2018-06-28RNA_access: path parsing: fix broken code for collections.Bastien Montagne
When RNA path was for a collection item, we'd falsly get NULL final property (and wrong final RNA pointer too). Own stupid mistake in some previous commit, iirc.
2018-06-09Merge branch 'master' into blender2.8Campbell Barton
2018-06-09Cleanup: trailing space in RNACampbell Barton
2018-06-05RNA/Override: Move override-related property flags to own variable.Bastien Montagne
We are already running out of available flags in main, generic int, and everytime I work on static override I find new special cases that will need new specific propflag, so...
2018-05-28RNA: re-enable property notifiersCampbell Barton
While these will be removed eventually, it makes tracking down COW buts a hassle.
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-17RNA: move enums to rna_rna.cCampbell Barton
Needed for use in rna non runtime code.
2018-05-17RNA: move enums to rna_rna.cCampbell Barton
Needed for use in rna non runtime code.
2018-05-09Rename: RNA_property_override_status > RNA_property_static_override_statusDalai Felinto
2018-05-02Static Override: add insertion for modifiers and one constraints, fix ↵Bastien Montagne
editing of inserted items in collections. Now insertable collection items have a flag to say they are 'local' (and hence can be freely edited).
2018-05-02Static override: Add basic two-passes system needed for apply insert op.Bastien Montagne
And a dummy placeholder for object constraints... All this is WIP of course!
2018-05-01Fix previous commit, sorry about that :/Bastien Montagne
2018-05-01Static override: rename highly confusing var name in apply code.Bastien Montagne
We use 'reference' to designate the linked ID which is being overridden by the local one, so using 'reference' to designate the stored local ID in apply RNA code was... not a good idea. ;)
2018-04-23stylecode cleanupBastien Montagne