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/source
AgeCommit message (Collapse)Author
2022-01-06Cleanup: spelling in commentsCampbell Barton
2022-01-06Cleanup: compiler warningsCampbell Barton
2022-01-06CMake: add missing headersCampbell Barton
2022-01-06Correct error when moving doc-strings into headerCampbell Barton
Error in ffc4c126f5416b04a01653e7a03451797b98aba4, which moved doc-strings from implementation into headers. Some changes in BKE_animsys.h needed to done manually as there were already doc-strings in both the header and implementation (with overlapping information). When making these changes some doc-strings were removed unintentionally. Thanks for @sybren for the heads up.
2022-01-06Cleanup: Clang-tidy: modernize-redundant-void-argAaron Carlisle
2022-01-06Cleanup: Spelling/grammar in commentsHans Goudey
2022-01-06Cleanup: Use snake case for file namesAaron Carlisle
This is so that we can have "proper" file namespace names in D13466
2022-01-06In obj exporter test, fix a strncpy length and a stray test file left behind.Howard Trickey
2022-01-06Cleanup: Remove empty node socket template arrayAaron Carlisle
2022-01-06Cleanup: Use new socket builder APIAaron Carlisle
Instead of looping through the old socket template array looper through the node output listbase.
2022-01-06Fix: MSVC build errorRay Molenkamp
MSVC2017 and early 2019 versions are under the impression struct OGLRender is non trivial type due to the ThreadCondition field, not entirely sure why, but it is what it is. Differential Revision: https://developer.blender.org/D13742 Reviewed by: JacquesLucke
2022-01-05Cleanup: Use new socket builder APIAaron Carlisle
2022-01-05Cleanup: Use new socket builder APIAaron Carlisle
Also enables translation of socket names
2022-01-05Fix T93695: Discontinuous cutting with the knife toolCian Jinks
An important check to reject edge linehits when a vertex of that edge was already hit was accidentally removed in rB6e77afe6ec7b6a73f218f1fef264758abcbc778a
2022-01-05Cleanup: Remove unused `node_type_exec` for shader nodeAaron Carlisle
From what I can tell these are left over from Blender Internal render. Test still pass locally, also tested a couple eevee scenes. Reviewed By: JacquesLucke, brecht Differential Revision: https://developer.blender.org/D13732
2022-01-05Fix T94169: Missing grease pencil render with tiled renderingSergey Sharybin
Delay grease pencil for until after the render result is written to the Blender side. Differential Revision: https://developer.blender.org/D13740
2022-01-05Fix Cycles allocating result too earlySergey Sharybin
When tiled rendering was used the render result was allocated at the end of every view layer render as opposite of an intended end of all rendering. Modify the render_result_end so that it only ensures pixels are allocated if pixels are actually copied over.
2022-01-05Fix T94650: LibOverride: Bad handling of (auto)resync in case of single ↵Bastien Montagne
override. Overrides that are not created as part of an override hierarchy should not be handled through (auto)resync at all. users are responsible to hanlde those updates if they need it. This is achieved by flagging overrides created outside of a hierarchical process accordingly, and skipping them during resync process.
2022-01-05LibOverride: Cleanup some code.Bastien Montagne
No functional change.
2022-01-05Assets: disable automatic preview generation for node groupsJacques Lucke
The current preview generation is more confusing than useful. Therefore it is better to disable it until better preview generation methods are found. Differential Revision: https://developer.blender.org/D13728
2022-01-05Fix T94659: crash when deleting instancesJacques Lucke
The crash was caused by using `modify_geometry_sets` to modify instances, which does not generally work unfortunately. The intended behavior was wrong anyway. In instances mode, only top level instances should be deleted. Also removed the old error handling because it doesn't look like it ever worked. all_is_error remained false all the time. Furthermore, updating it was not thread safe. Differential Revision: https://developer.blender.org/D13736
2022-01-05Fix T54488: hair disconnect/reconnect not working with modifiersAleksi Juvani
Take the Use Modifier Stack setting into account when connecting hair, and fix wrong results results when using deforming modifiers also. Differential Revision: https://developer.blender.org/D13704
2022-01-05Cleanup: Remove unused code (USE_COLOR_U32)Jeroen Bakker
2022-01-05Enable OpenEXR DWAB compresstionSergey Sharybin
The DWAB compression was disabled in the d59721c2c311 due to a bug in the OpenEXR library which is now resolved. Re-enable the DWAB compression for OpenEXR output. It is a simple change, and DWAB often behaves better than DWAA. Differential Revision: https://developer.blender.org/D13713
2022-01-05Fix T94564: Mirror clipping is not properly placed in sculpt modePhilipp Oeser
If a mirror object is used in a mirror modifier, sculptmode did not take this into account (and instead always clipped on the sculpt objects local axis). Now take this into account by storing a matrix in the preparation function `sculpt_init_mirror_clipping` and use that later in `SCULPT_clip`. Maniphest Tasks: T94564 Differential Revision: https://developer.blender.org/D13711
2022-01-05Fix T94506: Crash in CompositingSergey Sharybin
2022-01-05Fix T94545: support realizing instanced collectionsJacques Lucke
This case wasn't handled in rBf5ce243a56a22d718 correctly. Now `object_get_evaluated_geometry_set` just returns a geometry set that contains the collection instance for collection instance objects.
2022-01-05IDManagement: Add assert against no-main IDs passed to `BKE_id_delete`.Bastien Montagne
This high-level function can only deal with IDs in main, trying to use it to delete/free a no-main ID does nothing.
2022-01-05Fix T94366: Grease Pencil Automerge no immediate UI updatePhilipp Oeser
Just an oversight in rBe9607f45d85d. Now add notifier that toolsettings changed. Maniphest Tasks: T94366 Differential Revision: https://developer.blender.org/D13723
2022-01-05Cleanup: Use new socket builder APIAaron Carlisle
2022-01-05Nodes: Consistent link drag search for math and vector math nodesHans Goudey
Previously operations for the math node when connecting to outputs weren't added. It also used a different method to check whether the link would be valid.
2022-01-05Cleanup: Make shade node util header CPP onlyAaron Carlisle
Now that all shader nodes are converted to CPP this header can now be made into a CPP header.
2022-01-05Fix T89587: Don't Change Line Width For PreviewsHarley Acheson
Do not temporarily change U.pixelsize while creating object previews in object_preview_render. It does nothing to the render, but the change in line width can affect other UI drawing since it is done in a thread. see D13717 for for details. Differential Revision: https://developer.blender.org/D13717 Reviewed by Julian Eisel
2022-01-04Fix T94145: Knife tool fails in orthographic modeCian Jinks
Calculating min and max orthographic extent forgot to convert to worldspace coordinates.
2022-01-04Cleanup: Dont use relative includeAaron Carlisle
Instead let cmake determine the path for file includes
2022-01-04Cleanup: Nodes: Convert generic shader node files to c++Aaron Carlisle
Along with the general changes to CPP this commit does the following - Use static casts where possible - Use new CPP MEM library functions instead of cast - Use listbase macros where possible - Declare variables where initialized Reviewed By: HooglyBoogly, JacquesLucke Differential Revision: https://developer.blender.org/D13718
2022-01-04Fix: Link drag search error with random value node from color socketHans Goudey
Dragging from a color socket would hit an assert in a debug build. The node does not have a color mode currently, so use the vector mode instead when connecting to a color socket.
2022-01-04Fix T94620: GPencil AutoMerge does not work when Draw On Back is enabledAntonio Vazquez
The problem was the stroke was added to head and the `prev` pointer was NULL. Now check if there is the list is empty`next`.
2022-01-04Cleanup: Code formatting.Jeroen Bakker
2022-01-04Fix T94546: Remove soft limit for the Clamp Node value socket.Thomas Dinges
2022-01-04Fix T94544: crash removing image used as camera background via pythonPhilipp Oeser
Since 2.8, background images are tied to cameras (in 2.79 these were tied to a View3D I think). Code in `BKE_library_id_can_use_idtype` wasnt taking this relation between `Camera` and `Image` into account, thus leading to ID deletion/ unlinking not working properly -- in particular `libblock_remap_data` not doing its thing (and leaving the camera as a user of the image), then things went downhill from there... Now make the "Camera-can-use-an-Image" relation clear in `BKE_library_id_can_use_idtype`. Maniphest Tasks: T94544 Differential Revision: https://developer.blender.org/D13722
2022-01-04Fix T94599: Assert on usercount when deleting image created via operator.Bastien Montagne
`IMAGE_OT_new` operator would not properly clear the by-default one user generated by 'new id' code, in case it could not tie the image to anything.
2022-01-04Fix T90830: Crop node cropping is one pixel shortManuel Castilla
Currently the crop higher limits are inclusive too which contradicts the documentation as it says that if Left and Right are both 50, it will result in a zero-sized image. And the result is one pixel out of the crop gizmo, which is another hint that this is not intended. In "Full Frame" experimental mode it's two pixels short because of a misuse of `BLI_rcti_isect_pt` as it considers max limits inclusive. Reviewed By: jbakker Maniphest Tasks: T90830 Differential Revision: https://developer.blender.org/D12786
2022-01-04Fix T91160 - Movie Clip Editor - frame indicator/controller is not displayedAidan Davey
The frame indicator/controller is not displayed when in the Graph or Dopesheet view of the Movie Clip Editor To solve this we could call the function ED_time_scrub_draw_current_frame in clip_draw_dopesheet_main and graph_region_draw in space_clip.c Reviewed By: jbakker Maniphest Tasks: T91160 Differential Revision: https://developer.blender.org/D12659
2022-01-04Shader Nodes: Unity BuildAaron Carlisle
Enable unity builds for `bf_nodes_shader`, gives about a 2.7x speedup of total compile times when just building `bf_nodes_shader`. On my machine, this equates to saving about 30 seconds. Differential Revision: https://developer.blender.org/D13720
2022-01-04Cleanup: Move node storage macro inside file namespaceAaron Carlisle
Must have been a mistake in previous commits, this fix is needed to enable unity builds.
2022-01-04Fix soft light blend mode mathRichard Antalik
Function `blend_color_softlight_float` used math different to compositor and produced result that had abrupt value changes. Use math based on modified screen blend mode as compositor does.
2022-01-04Fix out of range color in blend modesRichard Antalik
Result of Exclusion and Pin Light blend modes could be greater than 255 which caused artifacts. Limit color value to 0-255 range.
2022-01-04Cleanup: Remove bNodeType flag from base registration functionsAaron Carlisle
This flag is only used a few small cases, so instead of setting the flag for every node only set the required flag for the nodes that require it. Mostly the flag is used to set `ntype.flag = NODE_PREVIEW` For nodes that should have previews by default which is only some compositor nodes and some texture nodes. The frame node also sets the `NODE_BACKGROUND` flag. All other nodes were setting a flag of 0 which has no purpose. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D13699
2022-01-04BLI: Add slice method to MutableSpanHans Goudey
Span had a slice method with an IndexRange argument, but MutableSpan did not, yet. This commit makes the two types consistent.