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
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
2018-04-23Static Overrides: disable animated check for now.Bastien Montagne
This is actually rather slow process, commeting it out gives us another 10% speedup... On a non-animated char! Don't even want to know how much this would have costed on a rig with hundreds of fcurves! And checking this is not really critical for us anyway, once animated you do not really care whether props are also statically overridden or not.
2018-04-20More debug timing info from main RNA diffing func.Bastien Montagne
2018-04-20Static overrides optimization: 30% quicker.Bastien Montagne
use stack instead of always allocating memory for RNA paths of checked properties! From average 167ms to 118ms here with Autumn rig... Still a lot to improve, but that's already much better.
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-17Merge branch 'master' into blender2.8Bastien Montagne
2018-04-17Fix (unreported) RNA sometimes trying to get named sub-props from non-Group ↵Bastien Montagne
IDProp. Why exactly this happens remains unclear, found that in the autumn.blenrig file of Spring production while working on static overrides... Tons of ugly IDProps in that rig. xD
2018-04-10Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-10Fix T54423: Messages from RNA_property_editable_info() were not translatable.Bastien Montagne
2018-03-23RNA comparison/override: better control over property processing.Bastien Montagne
This commit essentially introduces a new RNA property flag, which when set prevents affected property from being processed at all in comparison code (also used to automatically generate static override rules). The idea is to use it on very low-level data in RNA, like e.g. mesh's geometry or psys' particles collections. For now only applied to psys' particle collections, on the main mesh of Agent327 pigeon, it goes from 100ms to 0.5ms on a full auto-override-generating comparison... Also added some new RNA property helper funcs to check on comparable and overridable status.
2018-03-16Some more minor cleanups.Bastien Montagne
2018-03-15Minor cleanup & commenting.Bastien Montagne
2018-03-14Cleanup: use flags instead of collection of bools to get RNA override status.Bastien Montagne
2018-02-28WorkSpace: UI filtering for add-onsCampbell Barton
Allows for each workspace to have it's own add-ons on display. Filtering for: Panels, Menus, Keymaps & Manipulators. Automatically applies to add-ons at the moment. Access from workspace, toggled off by default once enabled, add-ons can be white-listed. See D3076
2018-02-06Fix T54005: Broken IDProp copying from RNA code.Bastien Montagne
When destination IDProp did not exist, new code (related ot static overrides) would not do nothing... IDProps and RNA are really not easy to tame, thinking more and more we should totally bypass RNA and directly use (add) IDP code to handle comparison and diff creation/application of IDProps. But for now, this bandage should to the trick.
2018-02-05Fix Cycles + Freestyle rendering crash, due to bug in RNA override code.Brecht Van Lommel
2018-01-19Merge branch 'master' into blender2.8Campbell Barton
2018-01-19Cleanup: typosCampbell Barton