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-07-18Additional Waveform Drawing ModeSergey Sharybin
This diff adds a 6th drawing mode to the Waveform Scope. The new mode shows the RGB colour channels overlaid as a "Full colour" waveform. The old "Red Green Blue" mode is renamed "Parade" which is the standard industry term for RGB channels shown side-by-side. This full colour style of waveform is very much more useful for colour grading than the Parade mode and is the default waveform for many artists. Files from older Blender versions which show scopes open as expected. Patch by John Cox (johnedwardcox), thanks! Reviewers: sergey Reviewed By: sergey Subscribers: campbellbarton, tmw, Blendify Differential Revision: https://developer.blender.org/D1936
2016-07-18[MSVC2015/Cycles] MSVC2015 before update 3 produce invalid buildsRay Molenkamp
I'm not quite sure where the codegen bug gets triggered but it's easily noticeable in the barcelona scene. (extra saturated leafs and illumination on the right ledge of the pool) 2013 buildbot reference image: {F320792} 2015 With no updates (compiler version 19.00.23026) {F320793} 2015 With Update 2 (Compiler version 19.00.23918) {F320794} 2015 With Update 3 (Compiler version 19.00.24210) {F320795} This patch blocks all compiler builds before update 3 in a similar way we did for msvc 2013 update 4 Reviewers: campbellbarton, brecht, juicyfruit Reviewed By: juicyfruit Tags: #bf_blender Differential Revision: https://developer.blender.org/D2100
2016-07-18[MSVC/LNK4199/Cleanup] Delay loading is causing linker warnings.Ray Molenkamp
We recently added delay-loading of the openmp dll's so we no longer had to use the stub loader, we however put these linker flags on the global linker flags causing any sub projects not using openmp to spit linker warning 4199 while building, ``` Warning LNK4199 /DELAYLOAD:vcomp140.dll ignored; no imports found from vcomp140.dll datatoc k:\BlenderGit\build_windows_2015a\source\blender\datatoc\LINK 1 ``` This patch makes the delay-load only apply to the blender project. Reviewers: sergey Subscribers: sergey Tags: #bf_blender Differential Revision: https://developer.blender.org/D2092
2016-07-18Fix (unreported) ED_region_tag_redraw_partial() could override a previously ↵Bastien Montagne
defined partial redraw, instead of extending it. Probably not an issue currently, since partial redraw is not much used (only from sculpt code and box-rendering it seems?), but logic was broken here.
2016-07-18Fix T48848: Cycles - Camera Culling - Camera Culling removes objects which ↵Sergey Sharybin
are still in frame
2016-07-18Fix T48877: Lightmap Pack fails w/ 1-3 facesCampbell Barton
Unnecessary limit was applied.
2016-07-18CMake: correct py-module on OSXCampbell Barton
2016-07-18Fix T48860: Cycles SSS artifacts with spatially split BVHSergey Sharybin
The issue was caused by SSS intersection code gathering all intersections without check for duplicated ones. This caused situations when same intersection will be recorded twice in the case if triangle is shared by several BVH nodes. Usually this is handled by checking intersection distance after sorting intersections (in shadow_blocked for example) but for SSS we don't do such sorting and using number of intersections to calculate various things. Didn't find anything smarter than to check intersection distance in triangle_intersect_subsurface(). This solves render artifacts in the cost of 1.5% slowdown of extreme case rendering (SSS object filling in whole FullHD screen). Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D2105
2016-07-17Cycles: Fix OpenCL compilation after the recent numerical fixesLukas Stockner
2016-07-17BLI_heap: replace memarena w/ local allocatorCampbell Barton
- Since element size its known it's less work to do inline. - In test with high-poly model, gave ~9% overall speedup for decimate modifier.
2016-07-17Cleanup: minor edits to BLI_heapCampbell Barton
2016-07-16Cycles: Fix three numerical issues in the fresnel, normal map and Beckmann codeLukas Stockner
- In fresnel_dielectric, the differentials calculation sometimes divided by zero. - When the normal map was (0.5, 0.5, 0.5), the code would try to normalize a zero vector. Now, it just uses the regular normal as a fallback. - The approximate error function used in Beckmann sampling sometimes overflowed to inf while calculating r^16. The final value is 1 - 1/r^16, however, so now it just returns 1 if the computation would overflow otherwise.
2016-07-16Cycles: Deduplicate geometric factor calculation in the Beckmann distributionLukas Stockner
Also, this fixes a numerical issue where A would be inf. Since later G is set to 1 if A is larger than 1.6, the code now checks the reciprocal of A for being smaller than 1/1.6 - same effect, but no inf involved.
2016-07-16Fix use after free error from ab993e37Campbell Barton
2016-07-16Cleanup: spellingCampbell Barton
2016-07-16Cleanup: line lengthCampbell Barton
2016-07-16Use the value `VIEW_PROJ_PERSP` in the remaining placesGermano Cavalcante
also changes the name of the callbacks: - walk_parent_snap_project_cb to cb_walk_parent_snap_project; - cb_leaf_snap_vert to cb_walk_leaf_snap_vert; - cb_leaf_snap_edge to cb_walk_leaf_snap_edge; - test_vert_depth_cb to test_vert_ray_dist_cb; - test_edge_depth_cb to test_edge_ray_dist_cb; and cleanup:
2016-07-15Cycles: Fix refitting of regular BVHSergey Sharybin
Was causing CUDA issues on viewport edits.
2016-07-15UI: modifier keys now trigger number button updatesCampbell Barton
Number buttons & sliders weren't updating when shift/ctrl were pressed. Note that this is a regression in 2.77 but hard to track down since it worked unreliably for some time.
2016-07-15Bump maximum threads number to 1024Sergey Sharybin
This commit contains all the changes required for most optimal maximum threads number bump. This is needed to avoid possibly unneeded initialization or data allocation on systems with lower threads count. TODO: Still need to review arrays in render data structures from render_types.h, P.S. We might remove actual bump of max threads from this patch, so when we'll be applying the patch we can do all the preparation work and then do actual bump of max threads. Reviewers: mont29, campbellbarton Reviewed By: mont29, campbellbarton Maniphest Tasks: T43306 Differential Revision: https://developer.blender.org/D1343
2016-07-15Cycles: Add option to disable new Hair BVHSergey Sharybin
While it's an extra option added to the interface which might not be fully obvious for artists, it allows to save up to 20% of memory in hairy scenes. This is high enough memory saver in my opinion which might become handy for some production files where it's more important to make scene to fit into memory rather than trying to use more optimal BVH structure but go into swap or crash. Reviewers: dingto, brecht Reviewed By: dingto, brecht Differential Revision: https://developer.blender.org/D2090
2016-07-15fix T48857: Improved the handling of Material Alpha, based on patch D1949 ↵Sandy Carter
with some small modifications
2016-07-15Collada: changed specification of material alpha from using transparency to ↵Gaia Clary
using transparent with opaque=A_ONE
2016-07-15Re-initialize source/tools submoduleSergey Sharybin
2016-07-15missed from last commitCampbell Barton
2016-07-15Object Snap: make normal argument optionalCampbell Barton
Often its not needed, setting correctly takes some extra calculation - so allow for it to be left unset.
2016-07-15Fix T48855: Ruler thickness broken in ortho viewCampbell Barton
Don't do ray-casts from the view unless cursor coords are passed.
2016-07-15Object Snap: replace perspective bool with enumCampbell Barton
Allows to set the projection as none, to make it more obvious when we don't want to handle viewport projections in some cases.
2016-07-15Correct error in snap commitCampbell Barton
2016-07-15Cleanup: use BLI_math for paint smooth-strokeCampbell Barton
2016-07-15Cleanup: rename snap varsCampbell Barton
2016-07-15Add "Snap Selection to Active" option in menuCampbell Barton
D1963 by @wisaac, re-worked to de-duplicate logic
2016-07-15Support for loading multiple images from the file selectorCampbell Barton
D2035 by @jside, extended to support mixing single images and sequences in the one selection.
2016-07-15Fix select grouped parent, extend option was ignoredCampbell Barton
D2067 by @mangostaniko
2016-07-15UI: Remove spaces around '/'Campbell Barton
D2093 by @Blendify
2016-07-15Sequencer: Remove add effect strip filesel propertiesCampbell Barton
D2096 by @chadf Unused, copy-paste error.
2016-07-15Fix py-driver in startup.blend crash in background modeCampbell Barton
Obscure regression in own commit from b34929786. While this could be considered correct, it introduces a crash so disable the update call.
2016-07-14Code cleanup: show unused arguments names for ShaderNode::constant_fold.Brecht Van Lommel
2016-07-14fix T48857: Added support for transparency (used Patch D1949 from bwrsandman ↵Gaia Clary
with some slight changes)
2016-07-14Use BMesh solver for new boolean modifiersCampbell Barton
2016-07-14Cleanup: comment blocksCampbell Barton
2016-07-14Fix T48844: Nodetrees of appended materials/textures/etc. were not correctly ↵Bastien Montagne
made local. Previous commits now allow to use id_make_local() here, as one would expect. Note that I also checked T36003 case, working fine as well with new code.
2016-07-14Correct recent own fix to id_clear_lib_data_ex().Bastien Montagne
Datablocks' nodetree are *never* in main, while shapekeys are...
2016-07-14Cleanup/refactor: handle shapekeys exactly like 'owned' nodetrees in ↵Bastien Montagne
make_local process.
2016-07-14Cleanup: use BKE's ntreeFromID in readfile instead of local same function.Bastien Montagne
Also, no need to set ntree->id.lib to NULL after BKE_libblock_copy_nolib(), generic datablock copy function always make copy local.
2016-07-14Fix bad handling of datablock's nodetree id_clear_lib_data_ex().Bastien Montagne
Those data blocks are never shared, exactly as with shapekeys, much simpler to also clear their lib_data (especially since they have no user!).
2016-07-14Get rid of BKE_key_make_local().Bastien Montagne
This function was only a wrapper around id_clear_lib_data(), and shapekeys are not linkable nor shareable anyway, no point keeping this currently, was only adding confusion about shapekey 'status' as a datatblock.
2016-07-14Add option to id_make_local to force localization of datablock, even if not ↵Bastien Montagne
used locally. Will be used by link/append code.
2016-07-14Fix T48843: Sequencer crash with many effectsCampbell Barton
Switch from a fixed stack to a linked list, since guessing the maximum possible size may fail with invalid/overlapping strips.
2016-07-14Add developer tools submoduleCampbell Barton
This is intended for utilities to help with development, which aren't needed for building. See https://wiki.blender.org/index.php/Dev:Doc/Tools/Blender_Tools_Repo for details