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
2020-02-28Multires: Cleanup, use early returnSergey Sharybin
2020-02-28Multires: Cleanup, namingSergey Sharybin
2020-02-28Cleanup: SpellingSergey Sharybin
2020-02-28Subdiv: Correct corner passed to foreach_loop callbackSergey Sharybin
Was affecting quad faces. where 0 was always passed for inner loops and a wrong one for boundary ones. In the current code this change shouldn't cause any difference since the corner index is ignored in the actual callback, but it is required to have his fixed for an upcoming changes.
2020-02-28Fix camera border gizmo sizeCampbell Barton
2020-02-28Cleanup: warnings using 'abs' on float valuesCampbell Barton
2020-02-28Cleanup: use fgets for parsing the xdg user dirsCampbell Barton
Match bookmark reading behavior.
2020-02-28Fix BLI_str_rstrip skipping the first characterCampbell Barton
2020-02-28Cleanup: transform commentsGermano Cavalcante
2020-02-28Fix T74256, crash in bmesh.ops.bevel if segments not set.Howard Trickey
Also changed signature of bevel function to take integer for segments instead of float, which is just wrong.
2020-02-27Transform: Remove 'mouse_coordinate_override' propertyGermano Cavalcante
This property depends on the view that can change when redoing.
2020-02-27Fix T70381: Motion Paths off by oneSybren A. Stüvel
The apparent off-by-one error was caused by a few factors: - The 'blend base' colour was green for the two frames directly surrounding the current frame, but black for the current frame itself. - For the frames before the current one, the 'blend base' was mixed with black, making the green stand out clearly, but fading to black again for the current frame. This looks like an off-by-one, even though it was just bad mixing. - For the frames after the current one, the 'blend base' was mixed with cyan, which already has a strong green component, so mixing it there was much less visible, making the entire thing look like an off-by-one error where it actually wasn't. I have simplified the code, so now it only chooses green as the 'blend base' for the current frame, and simplified the mixing for the current frame.
2020-02-27EEVEE: Shadow Render PassJeroen Bakker
Revert the change that renders the background black.
2020-02-27Cleanup: more refactoring of GPU material attributes and texturesBrecht Van Lommel
This further separates requested attributes and textures from the actual node graph, that can be retained after the graph has been compiled and freed. It makes it easier to add volume grids as a native concept, which sits somewhere between an attribute and a texture. It also adds explicit link types for UDIM tile mapping, rather than relying on fairly hidden logic.
2020-02-27Fix T74063: EEVEE Render PassesJeroen Bakker
Cycles recently fixed this issue, EEVEE needed to be adapted to output similar results in the light passes. This patch implements cycles `safe_divide_even_color` function to a GLSL function that will be used when extracting the light passes. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6948
2020-02-27Fix T74110: EEVEE Shadow PassJeroen Bakker
Shadow could penetrate occluded geometry. This patch adds a check to see if the light is in the right location to light the pixel. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6918
2020-02-27Objects: make evaluated data runtime storage usable for types other than meshBrecht Van Lommel
This is in preparation of new object types. This only changes mesh_eval, we may do the same for mesh_deform_eval and other areas in the future if there is a need for it. Differential Revision: https://developer.blender.org/D6695
2020-02-27Cleanup: split off hair cache function for reusabilityBrecht Van Lommel
For when we support sources of hair other than particle systems.
2020-02-27Cleanup: add missing use_nodes in default materials with nodetreesBrecht Van Lommel
This didn't break anything, but could in the future.
2020-02-27Fix T74228, T74246: Strange CharactersGermano Cavalcante
The glyph can come from a different cache.
2020-02-27Fix channel lists ignoring collection visibilitySybren A. Stüvel
The dope sheet, NLA editor, and other similar animation editors were ignoring the temporariy visibility flag of collections. As a result, an editor that's supposed to show animation data of visible objects only was still showing such data of objects that were hidden by hiding their collection. This was observed while fixing T71743.
2020-02-27File Browser: Recognize .fountain files as text filesJacques Lucke
D6288 by @tintwotin
2020-02-27Fix T74119: Cycles Viewport Render TintJeroen Bakker
Cycles uses the display_space_shader it gets from Blender. When requested the shader used to be a GPU_SHADER_2D_IMAGE_COLOR, which set the `color` uniform incorrectly. This resulted in a yellowish tint when used. To fix this the `GPU_SHADER_2D_IMAGE` shader will be used. Reviewed By: brecht, fclem Maniphest Tasks: T74119 Differential Revision: https://developer.blender.org/D6921
2020-02-27Fix T74229: EEVEE Bloom + TransparencyJeroen Bakker
Bug was introduced by the render passes. We had to tweak the bloom shader a bit so we could reuse it. After that tweaking the original alpha was ignored. This patch will read and store the correct alpha channel.
2020-02-27Transform Snap: Unify SnapObjectData structGermano Cavalcante
This simplifies the code, and will allow to switch modes.
2020-02-27Fix T74254: EEVEE Render Passes AvailabilityJeroen Bakker
When disabling AO or BLOOM in the render tab, when the pass is shown in a 3d viewport the pass wasn't reset. This resulted in showing a black texture and a not filled UI render pass in the shading popover. This patch will by default reset to the combined pass. It is intended that the render_pass in the 3d shading struct isn't set to combined as people could have disabled AO/bloom by mistake and it could reset viewports that aren't visible.
2020-02-27Fix T74254: EEVEE Render Passes AvailabilityJeroen Bakker
When disabling AO or BLOOM in the render tab, when the pass is shown in a 3d viewport the pass wasn't reset. This resulted in showing a black texture and a not filled UI render pass in the shading popover. This patch will by default reset to the combined pass. It is intended that the render_pass in the 3d shading struct isn't set to combined as people could have disabled AO/bloom by mistake and it could reset viewports that aren't visible.
2020-02-27Fix T74227: Crash when clicking on viewport shading propertiesJacques Lucke
2020-02-27Fix T71743: NLA editor doesn't update properly when hiding/viewing objectsSybren A. Stüvel
The NLA area & region listeners were ignoring the notifications that happen when hiding/showing objects & collections.
2020-02-27Fix T69576, T74059: issues with rotation when adding objectsPhilipp Oeser
This clarifies logic in ED_object_add_generic_get_opts (see comments in code). Also following issues are adressed: - do not enforce setting the op UI to WORLD when rotation is set (e.g. on redo). This is not wrong (happens in world space), but is more confusing than helpful (was added in own rB3b8a14a3c072). - respect setting the User Preference to WORLD properly (could fail when set to something else, then back to WORLD) Maniphest Tasks: T69576 Differential Revision: https://developer.blender.org/D6943
2020-02-27Improve usage of recent golden ratio definePhilipp Oeser
- fix typo - set back to conjugate value and use as such Followup to rB95175c3b5e2b.
2020-02-27Constraints: replace 'Set Inverse' operator with an eval-time updateSybren A. Stüvel
This fixes {T70269}. Before this commit there was complicated code to try and compute the correct parent inverse matrix for the 'Child Of' and 'Object Solver' constraints outside the constraint evaluation. This was done mostly correctly, but did have some issues. The Set Inverse operator now defers this computation to be performed during constraint evaluation by just setting a flag. If the constraint is disabled, and thus tagging it for update in the depsgraph is not enough to trigger immediate evaluation, evaluation is forced by temporarily enabling it. This fix changes the way how the inverse matrix works when some of the channels of the constraint are disabled. Before this commit, the channel flags were used to filter both the parent and the inverse matrix. This meant that it was impossible to make an inverse matrix that would actually fully neutralize the effect of the constraint. Now only the parent matrix is filtered, while inverse is applied fully. As a result, pressing the 'Set Inverse' matrix produces the same transformation as disabling the constraint. This is also reflected in the changed values in the 'Child Of' unit test. This change is not backward compatible, but it should be OK because the old way was effectively unusable, so it is unlikely anybody relied on it. The change in matrix for the Object Solver constraint is due to a different method of computing it, which caused a slightly different floating point error that was slightly bigger than allowed by the test, so I updated the matrix values there as well. This patch was original written by @angavrilov and subsequently updated by me. Differential Revision: https://developer.blender.org/D6091
2020-02-27Fix T54323: Improve Paint category names in keymap preferencesPhilipp Oeser
While one issue of the report was fixed already (rB27adc4aa3347), still a couple of clarifications could be made: - correct/clarify which modes these apply to - clarify that "Face Mask" is a paint thing Maniphest Tasks: T54323 Differential Revision: https://developer.blender.org/D6797
2020-02-27Fix T74248: Crash using a movie clip for the camera backgroundCampbell Barton
Missing NULL check in recent half-float support.
2020-02-27UI: Clarify Laplacian DeformAaron Carlisle
- Match UI Style - Clarify that the vertex group is different then other modifiers
2020-02-27UI: Fix Typo in GP Erase RNAAaron Carlisle
2020-02-26Fix T73371: Crash caused by wrong logic in NULL pointer check.Bastien Montagne
2020-02-26Cleanup: split image sequence detection into own file, and make it reusableBrecht Van Lommel
2020-02-26Build: add compatibility between precompiled libraries and new glibcBrecht Van Lommel
On Linux, precompiled libraries may be made with a glibc version that is incompatible with the system libraries that Blender is built on. To solve this we add a few -ffast-math symbols that can be missing. Differential Revision: https://developer.blender.org/D6930
2020-02-26Fix T74225: Image (from sequence) cannot be loadedPhilipp Oeser
If the current frame was not in range, the ImageTile's 'ok' was stuck at 0. Similar to the ImageUser being reset to 'ok' in BKE_image_user_frame_calc, we now do for ImageTiles as well. note: the crasher part of T74225 was fixed in rB5c490d437743. Maniphest Tasks: T74225 Differential Revision: https://developer.blender.org/D6939
2020-02-26Fix T74236: Golden ratio in camera composition guides is not workingPhilipp Oeser
Caused by 52da1b6e2b54 (where it was switched from a value to a define - but the define was wrong...)
2020-02-26Fix T74221 Crash when changing Image Source in UV editorClément Foucault
2020-02-26EEVEE: Fix crash on certain drivers caused by redefined constantClément Foucault
2020-02-26Cleanup: don't set renderpass_block twice for volumesBrecht Van Lommel
2020-02-26Cleanup: avoid path copy in XDG supportCampbell Barton
2020-02-26Cleanup: fix compiler warningBrecht Van Lommel
2020-02-26Fix for recent commit removing slashesCampbell Barton
The slashed were used for comparing bookmarks to the current directory. Add trailing slashes in 'fsmenu_insert_entry', which avoids having to duplicate strings just to add a slash before passing to this function.
2020-02-26Cleanup: printf from xdg parsingCampbell Barton
2020-02-26UI: remove check for HOME existing on unixCampbell Barton
This is such a corner case there is no need to make the UI aware of it.
2020-02-26Cleanup: remove trailing slash from bookmarksCampbell Barton
This isn't needed.