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
2020-06-03Cleanup: DRW: Remove builtin 3D only shader usageClément Foucault
2020-06-03GPUImmediate: Fix array uniform not workingClément Foucault
2020-06-03Cleanup: DRW: Remove persistent uniform functionsClément Foucault
2020-06-03Fix domain voxel size indicator drawingPhilipp Oeser
Use already calculated cell_size directly. Part of T77030.
2020-06-03Object: refactor mode switchingCampbell Barton
Functionality here has become confusing over time, this removes duplicate, similar functions, preferring to set the mode instead of toggle, enter, exit. Mode switching utility function behaved differently regarding undo, 'ED_object_mode_toggle' for example didn't skip the undo push where 'ED_object_mode_set' did. Some callers chose these functions based on the intended undo behavior, even when toggling didn't make sense. There was also ED_object_mode_generic_enter which was similar to ED_object_mode_set, instead of the reverse of ED_object_mode_generic_exit. Simplify object mode switching internals: - Replace ED_object_mode_generic_enter with ED_object_mode_set. - Remove ED_object_mode_toggle as nearly all callers needed to check the current mode so toggling would set the mode argument correctly. - Use ED_object_mode_set for the object mode switching operator to simplify logic. - Add ED_object_mode_set_ex which has an argument to disable undo, needed when loading undo data needs to set the mode. - Remove unused ED_object_mode_exit.
2020-06-03Cleanup: remove ED_gpencil_setup_modes from object mode setCampbell Barton
Grease pencil mode switching functions already call this.
2020-06-03Fix app-template warning disabling a template without a Python moduleCampbell Barton
2020-06-03Fix T67577: Add-on unregister can't access preferences on factory resetCampbell Barton
2020-06-03Cleanup: remove redundant call to addon_utils.reset_all()Campbell Barton
This is already called by wm_homefile_read
2020-06-03Cleanup: move shared functionality to wm_file_read_preCampbell Barton
This matches wm_file_read_post.
2020-06-03Cleanup: minor changes to wm_homefile_readCampbell Barton
Move app_template assignment to the top of the function, this simplifies further changes.
2020-06-03Fix T77289: Crash when typing negative numbersHans Goudey
This was caused by an oversight in rB45dbc38a8b15. When the next operation character is found the offset is shifted in the original string. The remaining length has to be recalculated with that offset before shifting the remaining characters to make room for the ")".
2020-06-03PyDoc: Fix warnings from out of bounds include statementAaron Carlisle
2020-06-03Cleanup: GPUTexture: Remove uneeded bindClément Foucault
2020-06-03DRW: Remove automatic bind locations and use hardcoded locations for texturesClément Foucault
This cleanup use the recent changes in shader interface to allow querying the binding location a texture should use. This should aleviate all issue we have with texture state change recompiling the shaders at drawtime. All binds are now treated like persistent binds and will stick until a new shading group bind a different shader. The only difference is that you can still change it with a new subgroup or same shader shgroup. Since unbinding can be heavy we only do it when using `--debug-gpu`.
2020-06-03GPUShaderInterface: Fix out of bound readsClément Foucault
2020-06-03GPU: Texture: Remove multibind trackingClément Foucault
This is more of a limitation than it is a solution.
2020-06-03GPUShader: Bind shader for interface creationClément Foucault
This will fix the bindpoints not being set at interface creation
2020-06-02Revert "UI: Fix T77173: Report Background Colors for 2.83 Release"Hans Goudey
This reverts commit 7fc0053c27e5e9ba3cc946898c7c11a8545f2777.
2020-06-02Merge branch 'blender-v2.83-release'Hans Goudey
2020-06-02Fix T76196: Curve Display hides wires as soon as any part has faces [duePhilipp Oeser
to filling/extrude/etc] Caused by rB6da097136cf4. The file in the report has some parts of the curve object generate faces [due to success in filling] and some others dont [where filling isnt possible]. rB6da097136cf4 disabled the wires/curves drawing whenever any faces would be generated (but the only way to see all wires was to set the Fill Mode to None then). So now only skip the wires/curves drawing if we are _not_ in wireframe viewport shading and the object's viewport display options is above 'WIRE'. This is an alternative fix to D7594 (and I think the better alternative, thx @stevewarner suggesting this). Maniphest Tasks: T76196 Differential Revision: https://developer.blender.org/D7874
2020-06-02UI: Fix T77173: Report Background Colors for 2.83 ReleaseHans Goudey
This is a temporary solution for T77173 for the 2.83 release. D7203 provides a more long term solution for future releases. This adds theme colors for the three report backgrounds, setting them to the color used in 2.82. A separate commit in the addons repository will follow for changes to the bundled themes. Differential Revision: https://developer.blender.org/D7908
2020-06-02Fix T76776: Implement vertex_visibility_get for PBVH_GRIDSPablo Dobarro
This was missing from when Face Sets were enabled in Multires, so it was always considering that all vertices in the grids are visible. This should also fix other unreported bugs. Reviewed By: sergey Maniphest Tasks: T76776 Differential Revision: https://developer.blender.org/D7809
2020-06-02Cleanup: Use const context for some UI templatesHans Goudey
- uiTemplateID: Straightforward, just const for the template and the functions it calls - uiTemplateCacheFile: Create a function in rna_ui.c because the generated RNA callback doesn't have const context. Differential Revision: https://developer.blender.org/D7895
2020-06-02Fix: Crash Edit Mode Selection RCSJeroen Bakker
2020-06-02Fix T63588: Cycles unnecessarily updates background importance sampling mapTautvydas Andrikys
With modifications by Brecht to solve T77273, crash enabling portal lights.
2020-06-02Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-06-02Revert "Fix T63588: Cycles unnecessarily updates background importance ↵Brecht Van Lommel
sampling map" This reverts commit 33ce0cb5a1edea4b5aaa7d37f6ad74b3b35b95f8. Fix T77273: crash enabling portal lights. The optimization for background updates can be added back later for 2.90 and 2.83.1.
2020-06-02Cleanup: Always use pbvh in PBVH BKE filesPablo Dobarro
Reviewed By: sergey Differential Revision: https://developer.blender.org/D7889
2020-06-02Fix: Crash When Selecting In Edit ModeJeroen Bakker
TaskGraph wasn't initialized in `DRW_draw_select_id`
2020-06-02Sculpt: Improve twist axis in Pose FK modePablo Dobarro
Previously, the twist rotation was aligned using the stroke location. This was causing unexpected results when rotating some Face Sets rigs. Now the intersection with the first Face Set in the flood fill is used, which produces much better results. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7900
2020-06-02Cleanup: Remove unused grab delta in Pose BrushPablo Dobarro
The grab delta is not used in do_pose_brush_task_cb_ex, so there is no reason to add it to SculptThreadedTaskData Reviewed By: sergey Differential Revision: https://developer.blender.org/D7901
2020-06-02UI: Expand linked/overriden collections by default in the OutlinerJulian Eisel
When linking or overriding an instanced collection, the new collection item in the Outliner is now un-collapsed by default. Linking and overriding is typically used in production scenes, where collections tend to contain many items (children, grand-children, etc.). If all collections in that hierarchy are expanded by default, the Outliner gets flooded with items. So users ended up manually collapsing the collections. Part of T76555. Reviewed by: Andy Goralczyk, Bastien Montange. Differential Revision: https://developer.blender.org/D7626
2020-06-02Library Overrides: Don't move collections to Scene Collection when overridingJulian Eisel
When using the "Make Library Override" operator on instance collections, keep the overriden collection in the parent collection of the instance empty. Previoulsy the collection would be added to the scene collection, which was confusing and not what users expected. It was placed there for a reason after all. Part of T76555. Reviewed by: Andy Goralczyk, Bastien Montange. Differential Revision: https://developer.blender.org/D7626
2020-06-02Library Overrides: Unlink instance empty after "Make Library Override"Julian Eisel
Unlink (delete if single-user) collection instance empty once an override is added to the collection through the "Make Library Override" operator. It isn't used as a collection instance anymore then so the emtpy is an annoying left over that has no purpose. Part of T76555. Reviewed by: Andy Goralczyk, Bastien Montange. Differential Revision: https://developer.blender.org/D7626
2020-06-02Fix T77126: Documented frame_change_pre and frame_change_post handlersSybren A. Stüvel
The documentation for the `frame_change_pre` and `frame_change_post` handlers was really sparse, and suggested that `frame_change_pre` is called before the frame changes. This is not the case; it's called after the frame has changed, but before the dependency graph has been updated for it. No functional changes, just updated documentation. Differential Revision: https://developer.blender.org/D7905 Reviewed by: sergey
2020-06-02Fix utterly broken versionning code for weight modifier.Bastien Montagne
Own fault in some recent patch rewiew/commit...
2020-06-02Cleanup: factorize duplicated code in WVG modifiers' RNA.Bastien Montagne
2020-06-02Cleanup: unused argumentCampbell Barton
2020-06-02Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-02Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-02Revert "Fix T67577: Add-on unregister can't access preferences on factory reset"Campbell Barton
This reverts commit f18ed7ad890ee5c89fc6e6a22e76c732fb5fc1bc. Better leave the fix for 2.9 series.
2020-06-02Fix T66967: skin modifier crash scaling skin radius to zeroCampbell Barton
2020-06-02EEVEE: Refactor of eevee_material.cClément Foucault
These are the modifications: -With DRW modification we reduce the number of passes we need to populate. -Rename passes for consistent naming. -Reduce complexity in code compilation -Cleanup how renderpass accumulation passes are setup, using pass instances. -Make sculpt mode compatible with shadows -Make hair passes compatible with SSS -Error shader and lookdev materials now use standalone materials. -Support default shader (world and material) using a default nodetree internally. -Change BLEND_CLIP to be emulated by gpu nodetree. Making less shader variations. -Use BLI_memblock for cache memory allocation. -Renderpasses are handled by switching a UBO ref bind. One major hack in this patch is the use of modified pointer as ghash keys. This rely on the assumption that the keys will never overlap because the number of options per key will never be bigger than the pointed struct. The use of one single nodetree to support default material is also a bit hacky since it won't support concurent usage of this nodetree. (see EEVEE_shader_default_surface_nodetree) Another change is that objects with shader errors now appear solid magenta instead of shaded magenta. This is only because of code reuse purpose but could be changed if really needed. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7642
2020-06-02Revert "Fix T67577: Add-on unregister can't access preferences on factory reset"Campbell Barton
This reverts commit f18ed7ad890ee5c89fc6e6a22e76c732fb5fc1bc. Better leave the fix for 2.9 series.
2020-06-02Cleanup: GPU: Remove GPU_shaderinterface_uniform_ensureClément Foucault
2020-06-02DRW: Remove defered uniform creationClément Foucault
2020-06-02OCIO: GLSL: Avoid undefined behaviorClément Foucault
Set ubo binding after shaderinterface creation as GPU_shaderinterface_create will call glUniformBlockBinding.
2020-06-02Depsgraph: Remove unneeded `RNA_path_resolve`Jeroen Bakker
Found during research of {T77124}. In `build_driver_data` an identical RNA_path is resolved twice. In stead of resolving it twice this patch will construct the `property_exit_key` based on the resolution of `property_entry_key`. This change isn't noticeable for users. Just a cleanup as it isn't needed to do the same logic twice. Reviewed By: Sergey Sharybin Differential Revision: https://developer.blender.org/D7872
2020-06-02BVHCache: PerformanceJeroen Bakker
This patch changes the BVHCache implementation. It will use a primitive array in stead of the ListBase. The locking is also changed from a global lock to a per cache instance lock. The performance of `gabby.blend` available on the cloud increased from 9.7 fps to 10.5 fps. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7817