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
2018-08-23Fix T56360: metaball viewport checkbox crash.Bastien Montagne
Do same as for other geometry types to compute bbox, instead of blindly returning NULL `ob->bb`...
2018-08-23Workspaces: move delete to right click menu, instead of X on tab.Brecht Van Lommel
These are not intended to be closed as often as e.g. browser tabs, they are intended to be more persistent and accidental closing should be avoided.
2018-08-23Multi-Objects: MESH_OT_loop_selectDalai Felinto
2018-08-23UI: Dark XYZ characters in the navigation gizmoPablo Vazquez
Much easier to read against the usually brighter axes colors.
2018-08-23Depsgraph: Bring back visibility checks based on collection restrict flagsSergey Sharybin
The title says it all actually, the idea is to speedup the following case: - Visible duplicator of a restricted collection (reported as T56512), One of the questionable change is that none of the view layer bases is ignored now. This ensures corresponding objects will have copy-on-write component evaluated, making it possible to access those pointers. The evaluation of those objects is skipped. Reviewers: brecht Differential Revision: https://developer.blender.org/D3641
2018-08-23Fix T56347: Driven values not supported in node groups.Bastien Montagne
Need to rebuild dependency graph when we add or remove nodes from a tree...
2018-08-23Rename: *_batch_cache_dirty > *_batch_cache_dirty_tagDalai Felinto
2018-08-23Fix T56500: Origin to geometry crashes on armatureDalai Felinto
Reviewers: sergey https://developer.blender.org/D3639
2018-08-23Icons: new icons for sculpt border hide/maskWilliam Reynish
2018-08-23Merge branch 'master' into blender2.8Bastien Montagne
2018-08-23Fix T56506: Different behaviour of Bounds Clamp with positive and negative axis.Bastien Montagne
Small typo on minus sign position... ;)
2018-08-233D Grid: Fix grid not showing in camera viewClément Foucault
2018-08-233D Grid: Fix axes color blendingClément Foucault
2018-08-233D Grid: Fix grid passing through objects too muchClément Foucault
For this we need to add a bias depending on the viewing angle. But increasing the hardness of the test make float precision issues in the mesh transformation more prominent (actual geometry is far below the surface). So to solve this issue we use a more subdivided grid mesh 8x8 quads instead of 1 triangle.
2018-08-23Compositor: Film-like curveJeroen Bakker
Film-like curves for the RGB Curve node (Compositor) and Curve Modifier (Sequencer) Film-like curves originated from Adobe. "It’s an RGB curve where the tone curve is applied on the largest and smallest value, and then the middle value is adapted to keep a constant hue as defined by RGB-HSL/HSV. In terms of look and saturation increase it’s very similar to a pure RGB curve, more so than a HSL-L curve or HSV-V curve, but some color shift problems are avoided." Other tools like Natron, Krita and RawTherapee have implemented this curve tone. Reviewers: brecht, campbellbarton Reviewed By: brecht Tags: #compositing, #video_sequencer Differential Revision: https://developer.blender.org/D3638
2018-08-23Fix T56498: Segment fault when change parameter of one operator after undo.Bastien Montagne
You cannot store ID (or any other data) pointers accross undo’s/redo’s, those are reading .blend file and hence invalidating all pointers! Not that happy with this fix, code is rather convoluted and not elegant at all, but cannot think of a better solution, so will do for now. Also found and fixed another 'str ghash used for int keys' case...
2018-08-23Add helper to BKE_library to generate unique string key for an ID.Bastien Montagne
Basically just concatenates ID's name (including its IDtype code) and that library's name, if any. This must give unique string in a given Main database, suitable for GHash keys e.g.
2018-08-23Cleanup: trailing spaceCampbell Barton
2018-08-23Cleanup: use static functionsCampbell Barton
2018-08-23Fix: Silence compiler warnings about size_t's in printfJoshua Leung
2018-08-23Depsgraph: Added note that the filtering function should NOT be called on a ↵Joshua Leung
filtered graph
2018-08-23Motion Path Calcs: Use filtered depsgraph by defaultJoshua Leung
Use debug_value = -1 to disable the use of the filtered depsgraph. It's still useful to have this for benchmarking + until we're confident the filtering works safely.
2018-08-23Code CleanupJoshua Leung
2018-08-23Motion Path Calcs: Minor optimisation tweaksJoshua Leung
* Don't print on every frame evaluated. This was only needed earlier to track the progress (and why things were taking so long - answer, it was the Scene COW issue). Saves 50-100 ms * Remove the extra calculation of the scene after evaluating motion paths. This shouldn't be needed now with COW. Saves about 20-30 ms
2018-08-23Fix memory leak - the temporary depsgraph instance was not getting freed ↵Joshua Leung
after use
2018-08-23Cleanup: Remove the conditional ID node removal stuff, copied from ↵Joshua Leung
clear_id_nodes() This was just randomly leaving all the Particle datablocks in the filtered graph (and causing and extra/excess pass over the ID's to get run). Unless we actually need those specially kept for some reason later, it's better to leave those out for now.
2018-08-23Faster Motion Path calculations using Depsgraph FilteringJoshua Leung
This commit makes the motion path calculations use the new Depsgraph Filtering API to obtain a more streamlined copy of the full scene dependency graph, allowing for faster calculations (as less data needs to be evaluated for each frame being baked). For example, in 01_020_A.anim.blend from the Spring production files, the time needed to calculate paths on several bones on Autumn went from 39.84 seconds (!) down to 9.90 seconds! Currently, this works by just replacing the depsgraph instance passed to the motion path calculation function. This filtered instance contains just the ID's needed to evaluate the graph to evaluate a specified target (i.e. the Object owning the pose). Notes: * By default, the filtering is not performed unless debug mode 555 is activated. Having a debug switch here allows comparing performance and disabling it should thing it start crashing. * It is necessary to pass in the original Scene instance (not the COW one owned by the filtered depsgraph), otherwise changing the current frame had no effect, due to the COW flushing from original Scene to the new Scene overwriting the CFRA changes we make. * The code here still needs cleaning up to debugging instrumentation, etc. and also to optimise further (e.g. caching the filtered depsgraph for faster updates when animating on existing paths, or fine-tuning the exact set of nodes needed). I'm just committing this first, since this was the quickly hacked-together test code I've been using to check that this is all working. * Further improvements could also be made to the time needed to build the full graph instance (about 3.3 sec), by allowing partial builds (e.g. by making a filtering proxy/wrapper around existing builders)
2018-08-23Cleanup: Disable some of the extra debug prints that were slowing things downJoshua Leung
2018-08-23Motion Path Calculations: Don't pass scene into motionpaths_calc_bake_targets()Joshua Leung
It's not needed, and actually precludes us from considering parallel evaluation in future.
2018-08-23Depsgraph Filtering: Fix ID node filtering problemsJoshua Leung
* COW data hasn't been expanded yet when we try to filter the graph (you need to have tagged + evaluated it for this data to exist), so all the offending nodes would just get left in * Added more debug prints to verify whether the id_nodes vector is getting cleared correctly
2018-08-23Depsgraph Filtering: WIP more debugging printsJoshua Leung
2018-08-23Depsgraph Filtering: Remove opnodes from entry tags tooJoshua Leung
2018-08-23Depsgraph: Fix filtering-related crashesJoshua Leung
* Simplified operation-relation deletion. Now we collect the relations to delete into a vector, then iterate through that, thus solving issues with iterator invalidation (+ aborts arising from that) * DEG_foreach_ancestor_ID() was assuming that all dependencies were OperationDepsNodes, when in fact, some could be TimeSource nodes
2018-08-23Depsgraph: Print simple stats after filtering graph, to quickly verify if ↵Joshua Leung
anything happened
2018-08-23Depsgraph: First draft of graph filtering API implementationJoshua Leung
When this works correctly, we should be able to feed in an existing depsgraph instance, and get out a "filtered" copy of it that contains only the subset of nodes needed to evaluate what we're interested in. The current implementation only filters on ID blocks/nodes, and starts by building a full new depsgraph instance first. I'd originally intended to do it per operation instead, copying over individual nodes as appropriate to have the smallest and least memory intensive graph possible. However, I ended up running into into problems with function binding + COW arguments, hence the current slow solution.
2018-08-23Typo fixesJoshua Leung
2018-08-23Tool System: support non paint tools in paint modeCampbell Barton
This is needed so non-paint-brush tools can be used in paint modes.
2018-08-22Object Mode: Add back spot cone displayClément Foucault
2018-08-22Paint Overlay: Fix blending of the brush overlayClément Foucault
2018-08-22UI: Minor label tweaks to operators context menuPablo Vazquez
* Add Shortcut -> Assign Shortcut * Add to Favorites Menu -> Add to Quick Favorites To match the menu name and be more general for when the Quick Favorites are accessible in places other than just menus (like panels). Add blank icon to Remove Shortcut so it aligns with Change Shortcut which is usually the item on top of it in the menu.
2018-08-22Cleanup, unused variableSergey Sharybin
2018-08-22MSVS 2017 Bug - Subdiv MeshCharlie Jolly
Apparently, struct initialization can not be empty, Reviewers: sergey Reviewed By: sergey Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D3636
2018-08-22Multires: Bring back operator to reshape from objectSergey Sharybin
Limited to mesh type of source, not sure it ever worked for non-meshes. While it's possible to support reshape from any object, the actual brain of operation would need to be recoded to go away from requirement of vertex indices matching in source and destination.
2018-08-22Multires: Remove another unused argument from reshape functionSergey Sharybin
2018-08-22UI: Show development entries in context menu when Dev. Extras is enabledPablo Vazquez
2018-08-22Multires: Fix reshape when active level is lower than the total oneSergey Sharybin
2018-08-22Multires: Remove unused function argumentSergey Sharybin
2018-08-22Python: Cleanup Noise ModuleAndrew Hale
Implements the changes detailed in T56281 Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3590
2018-08-22DRW: Fix wrong framebuffer bound after background passClément Foucault
2018-08-22Overlay: Fix wrong framebuffer bound.Clément Foucault