Revision 73f90b2 by Campbell Barton August 23, 2018, 10:24 (GMT) |
Fix annotate tool in the 3D view We can't share tools between space-types since they contain keymaps that store the space type. |
Revision 32f3ecf by Campbell Barton August 23, 2018, 10:16 (GMT) |
Cleanup: use staticmethod when class isn't used |
Revision a619ad3 by Campbell Barton August 23, 2018, 09:49 (GMT) |
Add Torus: default generate UV's to true |
Revision 48f7fe4 by Campbell Barton August 23, 2018, 09:49 (GMT) |
UI: rename "Ruler" to "Measure" |
Revision 4de7c0c by Jeroen Bakker August 23, 2018, 09:39 (GMT) |
Compositor: Film-like curve 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 |
Revision 0197329 by Bastien Montagne August 23, 2018, 06:46 (GMT) |
Fix T56498: Segment fault when change parameter of one operator after undo. 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... |
Revision faafe6e by Bastien Montagne August 23, 2018, 06:46 (GMT) |
Add helper to BKE_library to generate unique string key for an ID. 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. |
Revision 922ca68 by Campbell Barton August 23, 2018, 06:20 (GMT) |
Cleanup: trailing space |
Revision 4e6a82d by Campbell Barton August 23, 2018, 06:13 (GMT) |
Cleanup: use static functions |
Revision b35b10e by Campbell Barton August 23, 2018, 06:13 (GMT) |
Tool System: Popup toolbar keymap improvements - Add support for key_modifiers, so grease pencil gets "D". - Assign number keys for unmapped items This means all tools get keyboard access, use number/numpad to avoid confusion with other keymap items which directly activate the tool. |
Revision 36148f2 by Joshua Leung August 23, 2018, 05:07 (GMT) |
Fix: Silence compiler warnings about size_t's in printf |
Revision 0e09bfa by Joshua Leung August 23, 2018, 05:07 (GMT) |
Depsgraph: Added note that the filtering function should NOT be called on a filtered graph |
Revision 3fa4e52 by Joshua Leung August 23, 2018, 05:07 (GMT) |
Motion Path Calcs: Use filtered depsgraph by default 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. |
Revision 4cbb759 by Joshua Leung August 23, 2018, 05:07 (GMT) |
Code Cleanup |
Revision 8ee06f5 by Joshua Leung August 23, 2018, 05:07 (GMT) |
Motion Path Calcs: Minor optimisation tweaks * 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 |
Revision dcefce5 by Joshua Leung August 23, 2018, 05:07 (GMT) |
Fix memory leak - the temporary depsgraph instance was not getting freed after use |
Revision 18c7dfa by Joshua Leung August 23, 2018, 05:07 (GMT) |
Cleanup: Remove the conditional ID node removal stuff, copied from 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. |
Revision bd801e7 by Joshua Leung August 23, 2018, 05:07 (GMT) |
Faster Motion Path calculations using Depsgraph Filtering 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) |
Revision 0e44cf5 by Joshua Leung August 23, 2018, 05:07 (GMT) |
Cleanup: Disable some of the extra debug prints that were slowing things down |
Revision e01a9c5 by Joshua Leung August 23, 2018, 05:07 (GMT) |
Motion Path Calculations: Don't pass scene into motionpaths_calc_bake_targets() It's not needed, and actually precludes us from considering parallel evaluation in future. |
|
|
|


Master Commits
MiikaHweb | 2003-2021