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
2016-05-08Fix T48372: missing OS X trackpad scroll support for increasing loop cut / ↵Brecht Van Lommel
bevel segments.
2016-05-08Docs: explain some details of RNA enumsCampbell Barton
2016-05-08Cycles: Fix two small memory leaks and deduplicate table freeingLukas Stockner
This commit makes remove_table skip the freeing if the offset is already set to invalid - or, if it wasn't, set it to invalid after freeing. That's what the current code was already doing in the Manager classes, this change allows them to just call remove without the additional code. Also, two potential memory leaks where new tables were always allocated without freeing the old ones are fixed. Reviewers: sergey, dingto, brecht Differential Revision: https://developer.blender.org/D1974
2016-05-08Cleanup: warningsCampbell Barton
2016-05-08GPencil Onion Skinning: Setting before/after to -1 will turn off ↵Joshua Leung
onionskinning in that direction This is an experimental option that I found would have been useful to have, when making my earlier anim test. The only contentious point is whether it's better to use a separate boolean flag (perhaps bound to the labels) instead of overloading this setting (and describing the usage in the tooltip).
2016-05-08Fix: Toggling "lock layer" for GPencil layers in the dopesheet didn't update ↵Joshua Leung
the layers UI
2016-05-08Fix: Lasso select for Grease Pencil doesn't work in the Nodes EditorJoshua Leung
In the nodes editor, Ctrl-LMB-drag is taken by "Cut", and it seems impossible for any other keymap to override that. Instead, the default lasso select hotkey there is Ctrl-Alt-LMB-drag instead. To get Grease Pencil lasso select (in GP Editmode) to work in the Nodes Editor too, this commit adds the Ctrl-Alt-LMB-drag binding here too. However, to make things easier, this extra binding will be part of the Grease Pencil keymap everywhere. There doesn't seem to be any conflicts with having this in place - until we find them, this should be ok to have.
2016-05-08Tweak to GPencil layers UI layoutJoshua Leung
I'm still not happy with this layout as it is now, but it seems a bit less unbalanced than what I'd been trying before. So, let's leave this as-is for now.
2016-05-08Tweaks for a tooltip I missed during earlier review for D1886Joshua Leung
2016-05-08A "better" (?) fix for msvc silliness - used in one other place in all of ↵Joshua Leung
Blender
2016-05-08Fix compiling on MSVC - M_PI undefinedJoshua Leung
2016-05-08Action Editor: Initial support for a Properties RegionJoshua Leung
This commit adds some of the initial support for a properties region in the Action Editor. There are currently no panels to display, as there is still a lot of work required to port over the required internal architecture to support the panels seen in the Graph Editor.
2016-05-08D1886: GPencil - Add smooth iterations parameter to get better qualityAntonio Vazquez
After some test, a new iteration parameter has been added in order to apply repetitive smoothing to the stroke. By default 1 iteration is applied, but can used any number between 1 and 3. The repetition uses different levels of intensity from 100% of the defined smooth factor for the first loop, 50% for the second and 25% for the third. We use in each loop a smaller value in order to avoid deform too much the stroke.
2016-05-08Fix for D1705: Update to fix the bug with extra triangles that produces ↵Antonio Vazquez
glitches in some situations
2016-05-08GPencil Fills: Small reshuffle of UI buttonsJoshua Leung
Now, stroke-related things (thickness, volumetric, points) and fill-related things (HQ fill) are in the relevant columns, instead of having some in each column.
2016-05-08Code Cleanup: Just a bit more tidying up comments/whitespace/etc.Joshua Leung
There is still some instability in how the triangulations are happening, where the triangle count of the resulting triangulation fluctuates resulting in weird artifacts sometimes. To reproduce, try drawing some U-shapes, and keep reloading the file.
2016-05-08Fix for potential bug with new GP FillJoshua Leung
While trying to track down why I still keep getting some random "extra" triangles showing up when reloading files with fills, I noticed that there's an index mismatch here that may cause problems in some rare cases: There are "gps->totpoints" items in tmp_triangles, but there should only be "gps->tot_triangles" triangles in the gps->triangles array. If for whatever reason some of the triangles in tmp_triangles are invalid, this could have meant that while a tmp_triangles candidate was skipped, a corresponding slot for a valid triangle also got skipped.
2016-05-08Code Cleanups: A bunch of tweaks to tidy up things from the GPencil Fill patchJoshua Leung
2016-05-08D1705: Fix Grease Pencil Fill for Concave ShapesAntonio Vazquez
Improve filling for concave shapes using a triangulation of the stroke. The triangulation information is saved in an internal cache and only is recalculated if the stroke changes. The triangulation is not saved in .blend file. Reviewers: aligorith Maniphest Tasks: T47102 Differential Revision: https://developer.blender.org/D1705
2016-05-08Fix T48373: Crash when using dynamic paint with brush material.Bastien Montagne
`dynamicPaint_doMaterialTex` was called from inside an omp parallel section with brush->dm itself, and not the local dm copy. Generating looptri data is not thread safe at all...
2016-05-08Cycles: Cleanup: Swap order of the RNG-state-initializing for-loopsLukas Stockner
Swap the for-loops in the RenderBuffer reset code to follow the convention of looping over y in the outer loop. The improved cache performance won't really be noticable here, but it's nicer if it follows the usual style.
2016-05-07Clamp dot-product to avoid precision errorCampbell Barton
Would only happen in degenerate cases.
2016-05-07Cleanup: Remove unneded (void) line, we don't have ifdefs here anymore.Thomas Dinges
2016-05-07Cleanup: whicespaceCampbell Barton
2016-05-07Correct render-border line widthCampbell Barton
2016-05-07Correct error in wrapped array-span-iterationCampbell Barton
2016-05-07Fix T48368: Cycles mix RGB constant folding bug after recent refactor.Brecht Van Lommel
2016-05-07Curve Fitting: better fallback when least-square solution failsCampbell Barton
Take curvature into account when calculating handle length. Gives significantly better results for curve dissolve and 10-20% more efficient freehand drawing.
2016-05-07Fix error copying cubic dataCampbell Barton
2016-05-07Fix T48362: Spin tool broken after recent commit.Bastien Montagne
Typo in rBrBa48d74079, spin tool was now using the wrong view axis.
2016-05-07Fix cycles-xml with OSL support after changes inroduced in ↵Martijn Berger
1422f0dd1697d7b671a7b447fd58db7dfe775821
2016-05-07Some fixes for CUDA runtime compile:Thomas Dinges
* When Baking wasn't used we got an error. * On top of Volume Nodes (NODES_FEATURE_VOLUME), we now also check if we need volume sampling code, so we can disable that as well and save some further compilation time.
2016-05-07Cycles: Make CUDA adaptive feature compile a Debug flag.Thomas Dinges
If the CUDA Toolkit is installed and the user is on Linux, adaptive, feature based CUDA runtime compile is now possible to enable via: * Environment flag CYCLES_CUDA_ADAPTIVE_COMPILE or * Debug menu (Debug value 256) in the Cycles UI.
2016-05-06Fix T47657: Using template_list() with invoke_props_dialog()Bastien Montagne
popups have no wm_region in context, using wm_menu here. Not working perfect, but at least it prevents crash.
2016-05-06Fix T48262: Crash when trying to render a scene without camera.Bastien Montagne
2016-05-06Image Editor: Add border zoomCampbell Barton
Use Shift-B, UV border-select-pinned is now Ctrl-B. Patch from @rav66
2016-05-06Fix recent issue in recent BVH snap/cacheCampbell Barton
The derivedMesh could free a tree stored by the cache. Now check the cached tree is valid.
2016-05-06Correct in-range assert (zero is valid)Campbell Barton
2016-05-06DerivedMesh: don't allocate a new material array each drawCampbell Barton
2016-05-06Clip invisible parts of image when drawing in 2D textures and GLSL ModesSergey Sharybin
This commit avoids draw of invisible parts of image in image editor, making it faster to re-draw the image. Especially handy when painting on a high-res image when zoomed-in.
2016-05-06Cleanup: Move full SVM statistics to VLOG(2) verbosity level.Thomas Dinges
2016-05-06Cleanup: Rename texture slots to float4 and byte, to distinguish from future ↵Thomas Dinges
float (single channel) and half_float slots. Should be no functional changes, tested CPU and CUDA.
2016-05-06Code refactor: Change Cycles ImageManager arrays.Thomas Dinges
This commit simplifies the code for the image arrays. Instead of having 2 arrays for float and byte textures, we now use an array here. This simplifies the code (avoids code duplication), and makes it possible to easily extend it with float1 and half-float types in the future. Only tested with CPU yet, plus some cleanup / code de-duplication is still possible here. Reviewers: #cycles, sergey Reviewed By: #cycles, sergey Subscribers: jesterking, sergey Differential Revision: https://developer.blender.org/D1969
2016-05-06Tweak precision for interocular distance and convergence planeSergey Sharybin
Previous number of digits after point was not really useful, especially for the interocular distance where it's quite common to go sub-cm precision.
2016-05-06Speedup of regular 2D paintingSergey Sharybin
Yet another commit which makes painting aware of multi-threaded systems.
2016-05-06Cloth: Fix shrinking to properly respond to animated min/max and weight.Alexander Gavrilov
Enable dynamic restlen recomputation based on sew flag and update the shrink factor math within it to call the new utility function.
2016-05-06Cloth: Change ClothVertex::xrest to actually store the rest position.Alexander Gavrilov
Originally the value was only needed when building the springs, so a pointer to the input data was somewhat ok. However, recalculating spring length dynamically requires keeping the actual value around.
2016-05-06Part of D1903: Dynamic base mesh for cloth simulationLuca Rood
A function that recalculates cloth spring lengths.
2016-05-06Cloth: Ignore zero-restlen sewing springs in average length computation.Alexander Gavrilov
The average length is used to adjust self-collision and stiffness to match mesh density, and in either case considering the always zero restlen sewing springs doesn't actually make much sense. The struct_springs variable is also used for other things like total spring count, so a new one needed for the true struct springs.
2016-05-06Cloth: Use Geometrical Mean for averaging cloth shrink factor.Alexander Gavrilov
This comes out of considering a one-dimensional transition in weight on a rectangular cloth grid. At the transition face loop, one side of each rectangular face would be scaled by k1, and the opposite one by k2, thus turning the rectangle into a trapezoid. Averaging would be used to choose the scale factor for the remaining two sides. If Geometrical Mean, i.e. sqrt(k1*k2) is used, it so happens that the diagonals of the trapezoid also end up scaled by sqrt(k1*k2) compared to the original rectangle. This means that the same scale factor is correct for both structural and shear springs, which is not the case with simple average.