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/intern
AgeCommit message (Collapse)Author
2018-06-16Merge branch 'master' into blender2.8Campbell Barton
2018-06-16Cycles Cleanup: Remove unneccessary color management callLukas Stockner
2018-06-16This option limits visibility of the glew.h header to just bf_gpu and ↵Ray Molenkamp
intern_gawain this is to highlight areas in the code that still directly do opengl calls or use opengl types. This is in preparation for supporting alternative rendering back-ends. Reviewers: brecht, fclem Differential Revision: https://developer.blender.org/D3304
2018-06-16Merge branch 'master' into blender2.8Brecht Van Lommel
The Eevee AO node supports the new Normal socket, but ignores Distance, Samples, Inside and Only Local settings.
2018-06-15Cycles: change Ambient Occlusion shader to output colors.Lukas Stockner
This means the shader can now be used for procedural texturing. New settings on the node are Samples, Inside, Local Only and Distance. Original patch by Lukas with further changes by Brecht. Differential Revision: https://developer.blender.org/D3479
2018-06-15Merge branch 'master' into blender2.8Brecht Van Lommel
2018-06-15Fix more Cycles CUDA errors after recent changes.Brecht Van Lommel
2018-06-15Merge branch 'master' into blender2.8Philipp Oeser
2018-06-15Fix Cycles CUDA error after recent changes.Brecht Van Lommel
2018-06-14Merge remote-tracking branch 'origin/master' into blender2.8Lukas Stockner
2018-06-14Cycles: Query XYZ to/from Scene Linear conversion from OCIO instead of ↵Lukas Stockner
assuming sRGB I've limited it to just the RGB<->XYZ stuff for now, correct image handling is the next step. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3478
2018-06-14Cycles: Connect value inputs to Strength instead of Color when inserting an ↵Lukas Stockner
Emission node Same result, but saves an additional ConvertNode.
2018-06-14Cycles: Automatically detect HDRI resolution by default and use non-square ↵Lukas Stockner
sampling map The automatic mode checks all Enviroment Texture nodes and picks the largest image's resolution. If there are no Enviroment Textures, it just uses the old default. Also, the sampling map now isn't limited to square shapes. The automatic detection uses the exact image size, the manual UI option now halves the value to get the height. A default aspect ratio of 2:1 makes sense since this is what most HDRIs use. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3477
2018-06-14Revert "GHOST: GLX: Remove XInitThreads"Clément Foucault
This reverts commit 7529690df38ced314d59af3b10c610e3fd56c807. I tried to put manually add threading protection to GHOST around Xlib calls but that did not fix the crashes. So reverting that for now despite the performance implication on some system.
2018-06-13Merge branch 'master' into blender2.8Brecht Van Lommel
This includes making Eevee match Cycles behavior of inserting an emission node when linking colors to closures.
2018-06-13Cycles: auto insert emission node when linking color to closure.Brecht Van Lommel
This is convenient for previewing the output of a node, and we agreed to support this behavior in both Eevee and Cycles.
2018-06-13UI: preset popover buttons in panel headers.Brecht Van Lommel
Moves the preset into a menu for the panel header, so it can be changed without opening the panel and takes up less space. Two remaining issues: * For long lists the add new preset button can be scrolled off screen. * We should support showing the name of the chosen preset in the panel header, but the current preset system does not support detecting which preset is used. Differential Revision: https://developer.blender.org/D3366
2018-06-12Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/object/object_add.c source/blender/editors/object/object_relations.c
2018-06-12Fix T55448: Typo in Cycles CUDA debug outputLukas Stockner
Reviewers: sergey, lukasstockner97 Reviewed By: lukasstockner97 Tags: #cycles, #bf_blender Differential Revision: https://developer.blender.org/D3472
2018-06-11GHOST: Fix uninitialized values.fclem
2018-06-11GHOST: GLX: Remove XInitThreadsClément Foucault
This was needed because we were sharing opengl contexts across multiple threads. With the recent refactor this should be no longer needed.
2018-06-11Cleanup: remove object.is_visible.Brecht Van Lommel
Depsgraph already iterates over visible objects, and since this was only valid for objects evaluated with the depsgraph it was confusing.
2018-06-11Fix T55436: crash with point density and shader tweaking.Brecht Van Lommel
With copy-on-write we can no longer assumes the point density data is available after Cycles synchronization with Blender data is done. So force it to be loaded earlier, even if it's not great for interactivity.
2018-06-11GHOST: Fix uninitialized varClément Foucault
Was causing crash on startup.
2018-06-11GHOST: WGL: Delay context initialization for offscreen contexts.fclem
Same as 128926a41b368e166af63515370d9c9367e3dda2 but for windows.
2018-06-11Cycles: Cleanup, silence strict compiler warningSergey Sharybin
There is one legit place in the code where memcpy was used as an optimization trick. Was needed for older version of GCC, but now it should be re-evaluated and checked if it still helps to have that trick. In other places it's somewhat lazy programming to zero out all object members. That is absolutely unsafe, at the moment when less trivial class is used as a member in that object things will break. Other cases were using memcpy into an object which comes from an external library. We don't control that object, and we can not guarantee it will always be safe for such memory tricks and debugging bugs caused by such low level access is far fun. Ideally we need to use more proper C++, but needs to be done with big care, including benchmarks of each change, For now do annoying but simple cast to void*.
2018-06-11Libmv: Cleanup, make strict compiler more happySergey Sharybin
In C++ it is not really safe to memcpy objects, and newer GCC will warn about this. However, we don't use our vector for unsafe-to-memcpy objects, so just explicitly silence that warning.
2018-06-11Merge branch 'master' into blender2.8Bastien Montagne
2018-06-11GHOST: Delay opengl context initializationClément Foucault
This way they can be init in their owner thread. Contexts should not be shared accross threads. Once you make a context active on a thread it is owned by the thread. This commit only have the GLX backend updated but should not break orther platform.
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-10Sub-panels for Cycles Depth of FieldPablo Vazquez
2018-06-09Merge branch 'master' into blender2.8Campbell Barton
2018-06-09GHOST/X11: Print the keycode w/ debug enabledCampbell Barton
2018-06-09Merge branch 'master' into blender2.8Campbell Barton
2018-06-09GHOST/X11: Correct non-latin kb workaround caseCampbell Barton
Harmless since this is always enabled, only do this for easier troubleshooting when disabling the define.
2018-06-09Merge branch 'master' into blender2.8Campbell Barton
2018-06-09GHOST/X11: support accessing physical keycodesCampbell Barton
This means we can check keys such as tilde in a generic way.
2018-06-09GHOST/X11: Map unknown us.intl key to accentgraveCampbell Barton
2018-06-08Merge branch 'master' into blender2.8Campbell Barton
2018-06-08GHOST/X11: Map unknown es,dk keys to accentgraveCampbell Barton
2018-06-08Merge branch 'master' into blender2.8Campbell Barton
2018-06-08Cleanup: unused var, trailing spaceCampbell Barton
2018-06-08GHOST/X11: Map unknown de,fr keys to accentgraveCampbell Barton
This still uses the correct string when typing text, it just allows the key to be used in keymaps. We should eventually add scan-code support.
2018-06-07Merge branch 'master' into blender2.8Campbell Barton
2018-06-07GHOST/X11: Xinput/XIM support caused double key-upCampbell Barton
All keyboard events were sending double key events (including modifiers) when xinput was enabled with gnome (causing much confusion!). I cant test if XIM works, but this isn't useful to send double events, so disabling for now.
2018-06-07Merge branch 'master' into blender2.8Sergey Sharybin
2018-06-07Revert "Cycles: Cleanup: Don't use return on function returning void"Sergey Sharybin
Not sure why exactly it is called a cleanup, the code was much more clear and robust against possible missing return statements which are MANDATORY. Missing return statement will: - Cause two different BVH traversals to be run. Not is happening currently, but if more BVH layouts are added, it will become a problem. - It is already causing assert() statements to fail, since functions are no longer returning when they are supposed to. If there is any measurable reason to keep this change, let me know. Otherwise just stick to reliable/tested/robust code. This reverts commit ba65f7093b39a8e5f1fb869cbc347fb810a05ab9.
2018-06-06Cycles: use viewport duplicator visibility on previewDalai Felinto
2018-06-06UI: tweak for Cycles panels.Brecht Van Lommel
2018-06-04Merge branch 'master' into blender2.8Campbell Barton