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
path: root/source
AgeCommit message (Collapse)Author
2017-12-27Fix missing redraws when changing active view-layer or its nameJulian Eisel
Also removed unnecessary `struct` keywords.
2017-12-27 Fix T53638: View layer renaming crashes 2/2Dalai Felinto
This fixes renaming the view layer via Python. This bug was introduced originally in 3a95bdfc65d. Although I suspect it was around for longer, since this commit didn't touch this part of the code. But basically we need the id of the RNA property to be the one that owns the data (view layer).
2017-12-27Fix T53638: View layer renaming crashes 1/2Dalai Felinto
This fixes renaming via the interface. This bug was introduced originally in 9515737b554. We need the id of the RNA property to be the one that owns the data (view layer). So it can't be the window's id, but the scene one instead.
2017-12-26Depsgraph: Fix copy-on-write assert when freeing Freestyle configDalai Felinto
We were bumping user count when duplicating viewlayer and its freestyleconfig depending on the flag, however when freeing we were always decreasing user count. This fixes this and get rid of the assert when running: `--factory-startup --enable-copy-on-write` And closing Blender.
2017-12-23Collections: deletea collection move objects to master collection if users=0Dalai Felinto
The mental model is that a scene collection is a small wrap on top of the master collection, so all objects are in the master collection at all times. When we remove a collection there is no reason to remove an object. So if the object was not linked to any other collection, we add link it to the master one.
2017-12-22Correction to previous commit: Pass MakePrimitiveData to make_prim_finishJulian Eisel
2017-12-22Cleanup: Encapsulate primitive creation data into struct, remove unused argumentJulian Eisel
Should make it easier to add new and modify existing parameters.
2017-12-22Fix manipulators not updating when changing workspace view-layerJulian Eisel
There are more issues when changing view-layer (esp. with edit-mode).
2017-12-22Collection: Name collection based on parent's nameDalai Felinto
So they are: House -> House 1 -> House 2 -> ... The exception is when the parent collection is the master collection. In this case we get: Master Collection -> Collection 1 -> Collection 2 -> ... This is part of "T53495: View layer and collection editing - Design Task"
2017-12-22T53610: Crash opening file with linked particlesDalai Felinto
I could done a subversion bump, but I found a safe way to avoid it. It leads a bit of an ugly code, but once we bump the subversion next time we can clean it up easily.
2017-12-21Fix typo in previous commitSergey Sharybin
2017-12-21Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-21Depsgraph: Sort and clam number of statistics entriesSergey Sharybin
Makes log easier to read.
2017-12-21Implement duplicator viewport/render visibility optionsDalai Felinto
This allows a duplicator (as known as dupli parent) to be in a visible collection so its duplicated objects are visible, however while being invisible for the final render. An object that is a particle emitter is also considered a duplicator. Many thanks for the reviewers for the extense feedback. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D2966
2017-12-21Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-21Depsgraph: Bring timing statistics to the new dependency graphSergey Sharybin
This statistics is only collected when debug_value is different from 0. Stored in depsgraph node itself, so we can always have access to average data and other stats which requires persistent storage. This way we also don't waste time trying to find stats from a separately stored hash map.
2017-12-21Depsgraph: Make it more clear that we dump relations into graphvizSergey Sharybin
We might implement other things to dump into graphviz, so better to start having explicit names.
2017-12-21Depsgraph: Simplify some functions in evaluaitonSergey Sharybin
2017-12-21Depsgraph: Simplify evaluation functionSergey Sharybin
2017-12-21Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-21Depsgraph: Fix mistake in previous commitSergey Sharybin
2017-12-21Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-21Depsgraph: Remove confusing declaration of node methodSergey Sharybin
it is only to be implemented for operation node.
2017-12-21Depsgraph: Remove one of temporary tags in the nodeSergey Sharybin
No real reason to have that, better to free up space for something much more awesome!
2017-12-21Depsgraph: Cleanup, move implementation away from headerSergey Sharybin
2017-12-21Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-21Depsgraph: Remove evaluation priority completelySergey Sharybin
2017-12-21Depsgraph: Remove eval priority from debuggerSergey Sharybin
This needs to be redone anyway, to correspond to possibly new priorities calculated for evaluaiton.
2017-12-21Depsgraph: Remove unused component context functionsSergey Sharybin
2017-12-20Fix for T53599: OpenGL render with transparent backgroundDalai Felinto
I had to make Eevee draw its scene in the scene pass (before it was doing it in the background pass). This is not ideal since reference images require a separation between scene and background. But it's the best way to solve it now. Clay is working fine.
2017-12-20Depsgraph: Remove node class stored in both type info and nodeSergey Sharybin
This is something deliver form node type, there is no reason to try cache it anywhere, especially since it's not used in any performance critical code. Lighter weight dependency graph is what we want.
2017-12-20Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-20Depsgraph: Remove unused inclduesSergey Sharybin
2017-12-20Fix compilaiton error in debug modeSergey Sharybin
The structure was just calloc-ed, no need to check for anything. It's all zeroes!
2017-12-20Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-20Depsgraph: Move ID node to own fileSergey Sharybin
2017-12-20Depsgraph: Move time source node to own fileSergey Sharybin
2017-12-20Depsgraph: Print some statistics about transitive reductionSergey Sharybin
2017-12-20Depsgraph: Make transitive reduction to workSergey Sharybin
2017-12-20Depsgraph: Add utility function to unlink relation from graphSergey Sharybin
2017-12-20Depsgraph: Remove unused priority calculatorSergey Sharybin
While it sounds useful, in practice it was rather causing extra overhead and was slowing things down.
2017-12-20Depsgraph: Remove remaining parts of old removed debuggerSergey Sharybin
2017-12-20Fix T53572: Alembic imports UV maps incorrectlyMartin Felke
Since in Alembic the loop order seems to be reversed when exporting and importing, and this was the only place where it was not, I was thinking to match this to the convention of reversing the loop order as well. Reviewers: sybren, kevindietrich Tags: #alembic Differential Revision: https://developer.blender.org/D2968
2017-12-20Fix MSVSC2017 errorAntonio Vazquez
The last compiler version needs this include
2017-12-20Cleanup: remove unnecessary tooltip line limitCampbell Barton
Also add TODO for possible future changes.
2017-12-20Manipulator: clear tooltip for click actions tooCampbell Barton
2017-12-20Manipulator: tooltip supportCampbell Barton
Currently operators and properties are used.
2017-12-20Merge branch 'master' into blender2.8Campbell Barton
2017-12-20UI: move tooltip API to public headerCampbell Barton
2017-12-19Fix crash in RNA when accessing empty property_tags listJulian Eisel
E.g. running `bpy.context.active_object.cycles.bl_rna.property` in the console would crash. Thanks @lijenstina for reporting!