Blender Git Commits

Blender Git "master" branch commits.

59 minutes ago
Fix T72474: UDIM breaks box mapping in Cycles

The ImageTextureNode incorrectly used the tile slot encoding for box-
mapped textures as well. Since box-mapping always generates UVs that
lie in the 1001 tile, there's no need to support tiles here.
1 hour 10 min ago
Fix T72440: Dragging & dropping color in the Image Editor crashes

This was caused by a call to paint_2d_bucket_fill that I missed in the
UDIM changes.

Now, this feature does not only not crash, but it even works with tiled
3 hours 7 min ago
Fix typo in UDIM operator (always capitalize UI labels)
7 hours 3 min ago
UI: de-duplicate mask context menu

- Use the clip mask context menu for the image editor.
- Remove redundant CLIP_MT_mask_handle_type_menu.
- Remove "Add" items (was only in image mask context menu)
as the convention is not to include these in the context menu.
7 hours 20 min ago
Cleanup: move mask menu out of bl_operators

This file only defined a single mask menu, move the definition
along-side the other mask menus.
8 hours 12 min ago
Cleanup: remove redundant dynamic tool expansion

The tools passed to _tools_flatten, _tools_flatten_with_tool_index
already have dynamic tool items expanded, so there is no need to check
for callable tool items.
8 hours 57 min ago
Cleanup: pep8, unused vars, line length
9 hours 42 min ago
Cycles: Fix one-tile UDIM rendering

The code checked for the presence of more than one tile before
substituting the tile number into the filename, so if a one-tile
UDIM was used (or all but one tile were culled), the substitution
was skipped and as a result the file was not found.

With this change, the code explicitly tracks whether substitution
is required, avoiding this problem.

This also fixes another problem: The Environment texture never
does substitution since it doesn't support UDIMs, but before the
syncing code still inserted the placeholder into the filename if the
user selected a tiled background image.
10 hours 3 min ago
Cleanup: whitespace
10 hours 8 min ago
Cleanup: use static sets
18 hours 5 min ago
Industry Compat keymap: Fix paint mode context menus
1 day and 16 hours ago
UI: tweaks to the brush Stroke panel

- Make sure the spacing controls are together
- Add separators around the dash controls
1 day and 19 hours ago
UI: Brush Settings overhaul

This makes a number of changes to the tool settings brush UI:

- All brush-related controls are now grouped together, so you can see which items are brush settings are which are not. Previously it was all jumbled together.
- The brush picker is in a separate panel, so that you can switch brushes without worrying about the settings, or vice versa.
- Custom Icon settings moved from the Display settings(now known as Cursor) to the Brushes panel.
- UnifiedPaintSettings panels are removed and the contained options are now next to their relevant setting with a globe icon toggle. This is not displayed in the header.
- 2D Falloff and Absolute Jitter toggles were changed into enums, to make it clearer what happens when they are on or off.
- Adjust Strength for Spacing option was in the Options panel in some modes, but in the Stroke panel in others. It is now always under Stroke.
- Display (now Cursor) panel was reorganized, settings renamed.
- 2-option enums are annoying as a drop-down menu, so they are now drawn with expand=True.
- Smooth Stroke and Stabilizer options in grease pencil and other paint modes are now both called "Stabilize Stroke", for consistency and clarity.
- De-duplicated some drawing code between various painting modes' brush options. I tried to keep de-duplication reasonable and easy to follow.
- A few more tweaks - see D5928 for the extensive list.

Most of the patch is written by Demeter Dzadik, with some additions by myself

Differential Revision:
Reviewers: Pablo Dobarro, Bastien Montagne, Matias Mendiola
1 day and 20 hours ago
Industry Compat keymap: Add support for the context menu PC keyboard key
1 day and 20 hours ago
Industry Compat keymap: Fix issue in UV editor Box Select tool

Shift-dragging with the Box Select tool would also select the nearest point.

Using a Click instead of Press event for selection (just like the default keymap) fixes this.
December 14, 2019, 11:53 (GMT)
USD: on Apple disable USD if library cannot be found

When building with `WITH_USD=ON` on Apple but the USD library cannot be
found, the CMake script now just sets `WITH_USD=OFF`.
December 14, 2019, 00:47 (GMT)
Fix T72412: Weld Modifier: Merged edges not displayed in wireframe
December 13, 2019, 20:35 (GMT)
Fix T72409: Remove references to Unified use_pressure_size and use_pressure_strength

This was causing errors to show in the terminal.

Reviewed By: campbellbarton

Maniphest Tasks: T72409

Differential Revision:
December 13, 2019, 17:59 (GMT)
USD: Simplified unit test and made it work on Windows as well
December 13, 2019, 17:59 (GMT)
USD: disabled unit test that fails on the buildbot

I can't fix this quickly right now, so I'd rather drop the entire test
for now.
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019