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
2019-03-18Fix AMD OpenCL build error after recent changes.Brecht Van Lommel
Always use native function since this was already the case due to __CL_USE_NATIVE__ not being defined in time, and seems to have caused no known issues.
2019-03-18Fix: Cycles Subdivisions panel was showing, even when using EeveeWilliam Reynish
2019-03-18Cleanup: fix compiler warnings.Brecht Van Lommel
2019-03-18Merge branch 'blender2.7'Sergey Sharybin
2019-03-18Cycles: Cleanup strict compiler warningsSergey Sharybin
2019-03-18Cleanup: fix compiler warning.Brecht Van Lommel
2019-03-17UI: add light/world settings in shader node editor.Brecht Van Lommel
Material was already there. Implementation was changed so it's just a single line of code to adapt a panel to the node editor.
2019-03-17Cocoa: Fix missing key window after closing "About"Sergey Sharybin
The cause of this issue goes deeper inside of the custom nature of the event loop. In short, when not using [NSApp run] closing "About" window does not make previous key window a key again. The solution is quite similar to other projects, but we only force key window from handler when closing one appears to be "About" window. In all other cases we leave it up to Blender's window manager to make decision and do not interfere with it. Test plan: - Open Blender application - Go to Blender -> About Blender menu item - Close About window - Note that Blender's window does not become active again. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4534
2019-03-17Merge branch 'blender2.7'Brecht Van Lommel
2019-03-17Cycles: optimization for constant background colors.Brecht Van Lommel
Skip shader evaluation then, as we already do for lights. Less than 1% faster in my tests, but might as well be consistent for both.
2019-03-17Fix Cycles OpenCL compile waiting unnecessarily for background shader.Brecht Van Lommel
Makes preview kernel appear quicker when background color is fixed.
2019-03-17Cleanup: simplify kernel features definition.Brecht Van Lommel
No functional changes, logic here got too complex after many changes over the years.
2019-03-17Cleanup: remove unused code.Brecht Van Lommel
2019-03-17Fix Cycles not doing versioning for some files saved in 2.80.Brecht Van Lommel
2019-03-17Cleanup: remove Cycles advanced shading features toggle.Brecht Van Lommel
It's effectively always enabled, only not on some unsupported OpenCL devices. For testing those it's not useful to disable these features. This is replaced by the more fine grained feature toggles that we have now.
2019-03-16Python API: add Python-defined node groups for shaders and compositing.Miguel Porces
This was already supported for Cycles shader nodes, but now also works for Eevee and compositing nodes. Instead of a generic NodeCustomGroup, now there is ShaderNodeCustomGroup and CompositorNodeCustomGroup that can be subclassed and registered. Differential Revision: https://developer.blender.org/D4370
2019-03-16Cleanup: fix compiler warnings.Brecht Van Lommel
2019-03-15Merge branch 'blender2.7'Brecht Van Lommel
2019-03-15Cycles: upgrade to CUDA 10.1 as the one officially supported version.Brecht Van Lommel
This version fixes various bugs, and there is no need anymore to use both 9.1 and 10.0 for different cards. There is a bug related to WITH_CYCLES_CUBIN_COMPILER and bump mapping in the regression tests, so that remains disabled same as it was for CUDA 10.0. Fix T59286: CUDA bake failing on some cards. Fix T56858: CUDA 9.2 and 10 issues.
2019-03-15Fix cycles preferences.get_devices() not returning all devices as before.Brecht Van Lommel
It only returned those for the active device type. For backwards compatibility return them all again, but still avoid enumerating them from our own code on startup or opening preferences.
2019-03-15Merge branch 'blender2.7'Jeroen Bakker
2019-03-15Cycles/OpenCL: Compile Kernels During Scene UpdateJeroen Bakker
The main goals of this change is faster starting when using foreground rendering. This patch will build kernels in parallel to the update process of the scene. When these optimized kernels are not available (yet) an AO kernel will be used. These AO kernels are fast to compile (3-7 seconds) and can be reused by all scenes. When the final kernels become available we will switch to these kernels. In background mode the AO kernels will not be used. Some kernels are being used during Scene update (displace, background light). When these kernels are being used the process can halt until these become available. Reviewed By: brecht, #cycles Maniphest Tasks: T61752 Differential Revision: https://developer.blender.org/D4428
2019-03-15Cleanup: unused importsCampbell Barton
2019-03-15Cycles/OpenCL: Added missing opencl programsJeroen Bakker
The functions that determine the program name + filename of kernels were missing some base kernels like denoising and base. For completeness I added those kernels so the function returns the correct results.
2019-03-14Merge branch 'blender2.7'Brecht Van Lommel
2019-03-14Fix T57138: Cycles CMJ failing with viewport samples set to 0.Brecht Van Lommel
Can't use INT_MAX, CMJ runs into precision/overflow issues before that.
2019-03-14Merge branch 'blender2.7' of git.blender.org:blenderStefan Werner
2019-03-14Cycles: Improved thread order for better CUDA performance.Stefan Werner
This patch puts threads that render the same pixel closer together, as opposed to threads that render the same sample. Thus threads within a warp are more coherent in memory access and control flow, leading to performance improvements. Example benchmarks on a Quadro RTX4000 (WDDM) on Windows 10: Koro: 4:23 -> 3:46 BMW: 1:18 -> 1:25 Barbershop Interior: 17:52 -> 14:55 Classroom: 4:37 -> 3:45 Performance differences on OpenCL/AMD were hit and miss, some scenes became faster, others lost significantly. Therefore, this is kept as CUDA only change for now.
2019-03-14Merge branch 'blender2.7'Jeroen Bakker
2019-03-14Fix T62145: Geometry.Backface Node Renders BlackJeroen Bakker
The NODE_GROUP_LEVEL of the Geometry node should be bumped to 1 when Backface is connected. Backface uses `NODE_LIGHT_PATH` that is part of NODE_GROUP_LEVEL1, the rest of the geometry ndoe is NODE_GROUP_LEVEL_0.
2019-03-13Merge branch 'blender2.7'Brecht Van Lommel
2019-03-13Fix T60434: crash with OSL and viewport + preview render at the same time.Brecht Van Lommel
Don't free LLVM JIT memory until process exit, there might be multiple OSL instances using it.
2019-03-13Fix T57305: NDOF frozen w/ lock view to cameraCampbell Barton
This effectively reverts 030297209f2508a and 785e8a636a2939, which caused this issue.
2019-03-13Fix Cycles interface after 3017d88aec7fSergey Sharybin
2019-03-13UI: rename PresetMenu to PresetPanel, move to bl_ui.utilsCampbell Barton
Confusing to call a menu a panel when subclasses need to define panel specific variables. Avoid having bl_ui depend on bl_operator module too. Since this isn't an operator, add utils modules for shared types.
2019-03-12Python/ViewLayers: add object.hide_get/set(), and optional view layer ↵Brecht Van Lommel
parameters. These new functions control the per view layer object hiding state, similar to the selection state. All these object state checking functions now also optionally take a view layer to use instead of the active view layer. Fixes T62062.
2019-03-12Merge branch 'blender2.7'Brecht Van Lommel
2019-03-12Fix T62481: Cycles crash rendering with UV pass after recent changes.Brecht Van Lommel
2019-03-12Cycles/OpenCL: Reduce How Often Kernel Recompilations Are NeededJeroen Bakker
This patch will reduce the number of times that we need to recompile kernels. It does this by (en/dis)abling features by default. So when the user needs them that the kernels are already available. Other features are enabled by default for background and foreground rendering. When in background rendering the user wants the best render performance. When in foreground rendering the user wants the least amount of recompilations. Enabling volumetrics or subdivision evaluation will still trigger a recompilation during foreground rendering. Reviewed By: #cycles, brecht Differential Revision: https://developer.blender.org/D4485
2019-03-11Merge branch 'blender2.7'Brecht Van Lommel
2019-03-11Fix T61103: Cycles bevel wrong on objects with negative scale.Brecht Van Lommel
2019-03-11Fix T61831: Denoising Clean pass not scaled correctly with samples.Brecht Van Lommel
2019-03-11Color management: Fix/workaround broken getDefaultDisplay()Sergey Sharybin
This is something what is caused by OCIO library. The patch has been submitted there: https://github.com/imageworks/OpenColorIO/pull/638 For until it is refined and checked we do workaround from our side.
2019-03-09Merge branch 'blender2.7'Julian Eisel
Conflicts: intern/cycles/blender/addon/properties.py intern/cycles/device/opencl/opencl_split.cpp
2019-03-08Cycles OpenCL: Remove single programJeroen Bakker
Part of the cleanup of the OpenCL codebase. Single program is not effective when using OpenCL, it is slower to compile and slower during rendering (when used in for example `barbershop` or `victor`). Reviewers: brecht, #cycles Maniphest Tasks: T62267 Differential Revision: https://developer.blender.org/D4481
2019-03-08Codestyle: commentsJeroen Bakker
2019-03-08Codestyle: commentsJeroen Bakker
2019-03-07Properties Editor: Grease Pencil and pinning fixesDalai Felinto
The UI was trying to use screen_context.c for its poll and draw functions. So the active object and active object data and active layer was used in the UI, instead of the context one. Besides, for the material, the wrong context path was used altogether when the active object was a greasepencil. This would lead to all sort of pinning problems: * A Mesh panel is pinned, but the active object is a grease pencil, the grease pencil panels would show. * If a Grease Pencil (data) panel is pinned, but the active object is not the one pinned, nothing would show. * Material panels and pinning were totally broken, showing the material context for pinned mesh data panels even. I also sanitized the name of the panels, their inheritance and poll functions. Reviewers: antoniov, brecht Subscribers: billrey Differential Revision: https://developer.blender.org/D4470
2019-03-06Linux/X11: update icon in taskbar to match new icons.Brecht Van Lommel
Adds a few different resolutions for better quality when scaling up/down.
2019-03-06Merge branch 'blender2.7'Brecht Van Lommel