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-17DNA: rename dup_* struct members to instance_*Campbell Barton
2019-02-17Cleanup: rename Mesh.edit_btmesh -> edit_meshCampbell Barton
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
2019-02-17Cleanup: move object bounding-box into runtime structCampbell Barton
2019-02-15Fix T61575: missing Cycles viewport updates when changing settings.Brecht Van Lommel
This reverts "Depsgraph: Don't tag original IDs", commit: 5f814cb3b47df9255724e979458e05a42ed40f9a.
2019-02-15Cleanup: Line wrappingSergey Sharybin
2019-02-15Depsgraph: Speedup constraint source lookupSergey Sharybin
Is mainly used by drivers variables. The slow part was about iterating over all pose channels to find the one which has a given constraint. Now we build a look up table, so this operation is way cheaper, Brings down relations update time from 0.7sec to 0.4 with Spring production file.
2019-02-15Depsgraph: Move RNA lookup to an own query classSergey Sharybin
Currently should have no functional changes, but allows to implement runction optimizations more localized and easily.
2019-02-15Depsgraph: Correct logging of build timeSergey Sharybin
2019-02-15Cleanup: IndentationSergey Sharybin
2019-02-15Depsgraph: Show build time on --debug-depsgraph-timeSergey Sharybin
Previously was only shown on --debug-depsgraph-build which had other unwanted noise.
2019-02-15Fix Spring characters being in the rest pose on file openSergey Sharybin
This partially reverts bf2c5217 and makes it so animation is evaluated for datablocks which were never evaluated within the dependency graph. Not ideal, but safest way currently. Animation for already evaluated datablocks will only be evaluated on manual edits, so the initial bugfix is still valid.
2019-02-15Cleanup: Argument wrappingSergey Sharybin
2019-02-15Depsgraph: Don't tag original IDsSergey Sharybin
This is unreliable for cases when multiple dependency graphs are to be updated. The only reason why it was attempted to be made is to deal with cases when ID appears in the dependency graph for the first time. But even then it should be smart enough bring itself to an up-to-date state without any extra tricks.
2019-02-12Depsgraph: Special relation for instances and metaballsSergey Sharybin
Ensures that object which is set for instance-vert or instance-face is evaluated prior to metaball. This is because metaball will request list of instances during evaluation. This should fix issue reported T61431 in release build. The assert is still there and is to be addressed separately.
2019-02-12Cleanup: Make parent relations a bit cleanerSergey Sharybin
Mainly getting rid of old and somewhat misleading and unclear comments.
2019-02-12Depsgraph: Run rigid body after modifiers are readySergey Sharybin
This makes it so modifiers are using object transform prior to the rigid body simulation, and then result of modifier stack is fed to the solver. Solves dependency cycle which was happening when object's modifier was dependent on the modifier transform. While now it is not possible to change simulation, things are somewhat more clear and reliable in other ways. For example previously, solver was using derives mesh from a previous step in time, which causes unfixable simulation issues (with intersections and such) Fixex T57589: 2.79 Rigid Body Sim. Does Not Behave The Same In 2.8 Fixex T61256: Compositing scenes causes crash, but rendering separately does not Fixes T61262: Armature and rigid body crash Fixes T61346: Rigid body with modifiers incorrect work
2019-02-12Depsgraph: Add utility function for transform dependencySergey Sharybin
This is what modifiers are to use to indicate that they depend on a transformation of the object itself. Currently should be no functional changes, but in the future this will allow to easily change transform operation depending on whether there is a simulation associated with the object.
2019-02-11Cleanup: commentsCampbell Barton
2019-02-11Fix T61362: Hair particles does not appear when renderingSergey Sharybin
Fix T61406: Particles don't render Consider initial dependency graph evaluation as a file load. Is still resetting too much, but that we can solve later.
2019-02-11Depsgraph: Use proper tag source for special caseSergey Sharybin
Special case of handling update tag of 0 was using wrong update source, causing unwanted point cache resets on file load.
2019-02-08Fix T61231: File open and undo looses unkeyed changesSergey Sharybin
Only flush copy-on-write to animation when user makes changes.
2019-02-07Cleanup: sort struct blocks, descriptionCampbell Barton
2019-02-06Depsgraph: Fix dependency cycle when rigid body is involvedSergey Sharybin
Was introduced by point cache reset on manual edits. Needed to split evaluation and introduce an explicit init key, which allows to hook up relations which are "monitoring" manual edits to the channel. Noticed while looking into T61190.
2019-02-06Cleanup: manually apply changes missed last commitCampbell Barton
Automatic edits failed for indented comment blocks, removed indentation & adjusted.
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-06Outliner visibility unification: Implement 3 levels of viewport visibilityDalai Felinto
Now collection and objects can be either: * Disabled for all the view layers. * Hidden for a view layer but not necessarily for all others. * Visible for a view layer but not necessarily for all others. Regarding icons: Whatever we decide to use for the "Hidden for all view layers" needs to be a toggle-like icon. Because when viewing "Scenes" instead of "View Layer" in the outliner we should be able to edit the collection "Hidden for all the view layers" as an on/off option. The operators are accessible via a Visibility context menu or shortcuts: * Ctrl + Click: Isolate collection (use shift to extend). * Alt + Click: Disable collection. * Shift + Click: Hide/Show collection and its children (objects and collections) Things yet to be tackled: * Object outliner context menu can also get a Visibility sub-menu. * Get better icons for viewport enable/disable. Note: * When using emulate 3 button mouse alt+click is used for 2d panning. In this case users have to use the operator from the menu. See T57857 for discussion. Patch: https://developer.blender.org/D4011 Reviewers: brecht and sergey Thanks to the reviewers and William Reynish and Julien Kasper in particular for the feedback.
2019-02-05Per view-layer collection visibilityDalai Felinto
[re-committing] We still control this in the viewport collections visibility menu. But now we are actually changing the visibility of the collections, not of the objects. If a collection is indirectly invisible (because one of its parents are invisible) we gray it out. Also if you click directly in the collection names, it "isolates" the collection by hiding all collections, and showing the direct parents and all the children of the selected collection. Development Note: Right now I'm excluding the hidden collections from the depsgraph. Thus the need for tagging relations to update. If this proves to be too slow, we can change.
2019-02-05BKE_library: add 'no preview' flag to LIB_ID_COPY_LOCALIZE.Bastien Montagne
No local work copy is expected to need preview data, at least it should not. Part of copy flags cleanup, done in separate commit in case something goes wrong here...
2019-02-05Cleanup: initial regrouping of ID create/copy flags.Bastien Montagne
Those two first sets of flags should represent some common use cases. The goal here is to reduce verbosity of calls to BKE_id_copy_ex, and help make it more obvious the 'common behaviours' of ID copying across codebase.
2019-02-05Cleanup: BKE_library: rename id_copy to BKE_id_copy.Bastien Montagne
Time to follow conventions for that one as well.
2019-02-05Cleanup: BKE_library: remove 'test' param of id_copy.Bastien Montagne
This was used in *one* place only... much better to have a dedicated helper for that kind of things. ;)
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove original authorCampbell Barton
Missed when removing contributors.
2019-02-01Fix T60451: Soft body cache not being cleared when it shouldSergey Sharybin
Manual edits to object or its dependencies should reset the point cache. Added special relations for this now.
2019-02-01Cleanup: Shuffle arguments in most used orderSergey Sharybin
Quite often we need to create nodes which defines various evaluation stages.
2019-02-01Depsgraph: Remove placeholder operationSergey Sharybin
2019-02-01Depsgraph: Use scene operation codeSergey Sharybin
Hopefully, this is the last one.
2019-02-01Depsgraph: Use operation code for file cache updateSergey Sharybin
All done in separate commits, so it's easier to bisect just in case.
2019-02-01Depsgraph: Use operation code for armature evaluationSergey Sharybin
2019-02-01Depsgraph: Use operation code for dupli-groupSergey Sharybin
2019-02-01Depsgraph: Use operation code for geometry evaluation doneSergey Sharybin
2019-02-01Depsgraph: Use operation code for geometry evaluationSergey Sharybin
Affects object data datablocks. Similar to previous commit. Should not have any functional changes, just some sanitization to make code more clear.
2019-02-01Depsgraph: Use operation code for geometry evaluation initSergey Sharybin
Makes it more explicit and avoids strings comparisons during build.
2019-02-01Depsgraph: More clear name for geometry evaluationSergey Sharybin
For ears it was already how we evaluate modifiers. There is no need to go more granular than is actually needed. And no need to use some obscure prefix for operation.
2019-02-01Cleanup: Space for foreach macroSergey Sharybin
2019-02-01Depsgraph: Add some sanity checks to ensure valid relationsSergey Sharybin
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: correct doxy headersCampbell Barton
2019-01-31Fix build errors on Visual Studio after recent changes.Brecht Van Lommel
SYNCHRONIZE is a Windows macro.
2019-01-31Fix T60836: Stretch to flickers when vertex group is usedSergey Sharybin
Missing relation to object transform. Needed to convert vertex position from local target object space to a local space of the bone.