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-08-24Multires: Fix wrong apply deform results when multires has sculpt alreadySergey Sharybin
2018-08-24Sculpt: Optimize Mask Overlay drawingClément Foucault
* Remove support for diffuse color in the pbvh buffers. * Upload raw data to GPU. * Only draw nodes that have mask data when drawing the overlay. This should fix T56466
2018-08-24Compositor: Added Weighted Standard Curve evaluationJeroen Bakker
Available in RGB Curve node in the compositor and as modifier in the sequencer. I reshuffled the values of the enum. But a the first commit is just 1 day old I think that the order is more important than the file compatibility.
2018-08-24Cleanup: indentation, styleCampbell Barton
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-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-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-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-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-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-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-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-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-22Multires: Fix reshape when active level is lower than the total oneSergey Sharybin
2018-08-22Multires: Remove unused function argumentSergey Sharybin
2018-08-22 Multires: Fix reshape of corner verticesSergey Sharybin
Was only reshaping corner vertex of a single ptex face.
2018-08-22Multires: implement reshape operationSergey Sharybin
The one which is used by applying deformation modifiers on the multires.
2018-08-22Subsurf: Implement foreach traversal for subdivsion topologySergey Sharybin
This makes it more generic process to perform actions which depend on ptex face + (u, v) and on subdivided vertex index. Currently it is still just a subdivision calculation process, but same foreach callbacks can easily be used to propagate displacement from known vertex locations back to displacement grids.
2018-08-22Cleanup: styleCampbell Barton
2018-08-21GP: Reduce list of modifiers affected by recalcAntonioya
2018-08-21GP: Force Fill triangulation data recalcAntonioya
Add a general parameter to force the recalc of the triangulation data because some modifiers could change the geometry and the filling triangles would not be right. Now, the parameter is visible in UI panel because this option reduces FPS, but maybe in the future we can keep always ON and remove the parameter.
2018-08-21Fix a few unintended changes with new default startup.blend.Brecht Van Lommel
2018-08-21Cleanup: comment naming which will be changedCampbell Barton
2018-08-21Cleanup: trailing spaceCampbell Barton
2018-08-20Workspaces: remove separate workspaces.blend config file.Brecht Van Lommel
This is quite confusing in the current UI, with both startup.blend and workspaces.blend containing a list of workspaces. In practice you'd usually want to save workspaces to both files. The downside of having a single file may be that you then can't disable certain workspaces by default, but we could add a setting for that.
2018-08-20Workspaces: replace bundled workspace.blend with embedded startup.blend.Brecht Van Lommel
We want these to have the same workspaces in both, so there is no reason to have two files that are identical.
2018-08-20Merge branch 'master' into blender2.8Campbell Barton
2018-08-20RNA: Spline.calc_length() utility functionCampbell Barton
D1810 by @Matpi w/ edits
2018-08-17Multires: Fix wrong creation of multires meshSergey Sharybin
Should use evaluated object to query deformed mesh from.
2018-08-16Cleanup: Use dedicated function to copy mesh during evaluation processSergey Sharybin
It is rather fully annoying to have same sets of obscure flags all over.
2018-08-16Multires: Implement function to get mesh at multires position of stackSergey Sharybin
2018-08-16Multires: Cleanup, naming and bool typeSergey Sharybin
2018-08-15GP: Redesign logic of drawing engine for object instance supportAntonioya
The initial design assumed that there was only one object for each unique name, but that was not the case when instances were created. Now, instances are supported and speed has been greatly improved when repetitions are used. As a result of this change, the option to create objects has been removed in the Instances modifier. This option was strange and was also against Blender's design rules, since a modifier should never create objects. The old functionality of the modifier can be achieved with instances. Also, several memory leakage problems that were not previously detected have been eliminated, and especially in the grid and in the drawing process Onion Skin is not supported in multi-user datablocks. Support this, makes incompatible with instances. We need find a solution in the long term, but now it's better keep disabled and make instances work. Anyway, the new instances makes unnecessary to use muli-user datablocks.
2018-08-15Cleanup: remove unused R_ORTHO / R_PANORAMA flags.Brecht Van Lommel
2018-08-15Multires: Initial groundwork to hook up displacement to new Subdiv objectSergey Sharybin
Adds a displacement support for OpenSubdiov based subsurf object implemented as a callback which gives vector displacement in object space. Currently is implemented to calculate displacement based on myltires displacement grids, but we can support things in the future if needed. Submitting to review to see if there is something obviously wrong in the direction (old multires code was sharing same displacement code to both calculate final displaced mesh and reshape an existing one, which is rather confusing and probably can be done more cleanly?). Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D3604
2018-08-15Clip Reconstruction: Cleanup - use const for selection synchronizeDalai Felinto
In order to avoid the discard qualifier warning I had to change a few extra things.
2018-08-15Fix viewport selection of markers not updating in all editorsDalai Felinto
This includes selections both in the clip editor as the viewport. The selection is implemented as a synchronization function called from the eval selection update node in depsgraph.
2018-08-15Subdiv: Cleanup, dead codeSergey Sharybin
2018-08-15Subdiv: Fix memory leak interpolating CD_MDISPSergey Sharybin
Can not copy data without freeing the previous storage.
2018-08-14Merge branch 'master' into blender2.8Bastien Montagne
2018-08-14Fix object copying not ensuring validity of material arrays.Bastien Montagne
Related to T56363, this is not fixing the root of the bug, but ID copying should always be a good occasion to ensure sanity of our data (and error checking is always better than a crash!).
2018-08-14Multires: Begin hooking it up to the new subdiv codeSergey Sharybin
Currently behaves same as subsurf, support of displacement is the next task in the line to tackle!
2018-08-14Multires: Synchronize settings with Subsurf modifierSergey Sharybin
Currently no functional changes, just exposes all settings which we need for OpenSubdiv, similar to what Subsurf modifier is doing already. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D3602
2018-08-14Merge branch 'master' into blender2.8Campbell Barton
2018-08-14Cleanup: use braces w/ particle loop macrosCampbell Barton