Blender Git Commits

Blender Git "master" branch commits.

Page: 1097 / 5574

August 5, 2019, 05:53 (GMT)
Text: only un-comment blocks which are completely commented

It's common to select a block of code and comment it
which may already contains some comments.

Now only un-comment blocks which are completely commented
(ignoring white-space).

Makes toggle comments behave more usefully, resolves T68060.
August 5, 2019, 03:54 (GMT)
Text: merge toggle comments into a single operator

This allows users to map comment/un-comment to be mapped to keys.
August 5, 2019, 03:15 (GMT)
UI: rename rotate to orbit for viewport sensitivity

Matches names of related preferences.
August 5, 2019, 02:47 (GMT)
Cleanup: remove underscore prefix for used vars

Also remove unused vars.
August 5, 2019, 02:46 (GMT)
Cleanup: add braces
August 4, 2019, 20:32 (GMT)
Cleanup: Fix eeve_lut arrays being duplicated in blender binary.

Both eevee_materials.c and workbench_deferred.c include eeve_lut.h which has its arrays marked as static leading to the blue_noise array being embedded into our binary twice.

This change takes the arrays out of the header and properly marks them as const since they are lookup tables and should not be written to.

Reviewers: fclem, brecht

Differential Revision: https://developer.blender.org/D5346
August 4, 2019, 20:24 (GMT)
Cleanup: Mark large arrays of of constant data as const.

For background information see D5345

Reviewers: brecht, sergey

Differential Revision: https://developer.blender.org/D5345
August 4, 2019, 17:46 (GMT)
Fix: msgfmt add support for cr-lf style line endings

linux did not recognize cr as a valid character.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5337
Revision f08662d by Your Name
August 4, 2019, 15:53 (GMT)
Sculpting: Remove Show Diffuse Color Option

This should have been removed in 2.80 as the functionality was removed.
This feature now does not do anything and can be removed.

Differential Revision: https://developer.blender.org/D5411
August 4, 2019, 10:58 (GMT)
Add a new Copy As Driver context menu option for properties.

It is a very common need to create drivers that set the value of
a property to the value of some other property, but it currently
requires multiple actions: Copy Data Path on the input property,
adding a driver to the output property, selecting the input ID
reference, and pasting the path.

This adds a new Copy As Driver context menu option, which creates
a complete driver in the clipboard that reads the current property,
so all that remains is to paste it to the output property. It is
also possible to paste just the new driver variable into an existing
driver to combine multiple inputs.

Reviewers: brecht, billreynish

Differential Revision: https://developer.blender.org/D5382
August 4, 2019, 10:51 (GMT)
Text Editor UI

Tweak Text Editor to fit better with the rest of Blender 2.8:

- Move sidebar to the right
- Add proper context menu
- Move view toggles to the View menu
- Change the indentation option to be an enum between spaces and tabs
- Several layout tweaks

Patch by @tintwotin / Peter Fog with additional tweaks by me.

Differential Revision https://developer.blender.org/D5028

Reviewers: Brecht, Campbell
August 4, 2019, 10:37 (GMT)
Tweak Brush Gradient UI

Gradient and Color are mutually exclusive, so we now communicate this in the UI much more clearly

Differential Revision: https://developer.blender.org/D5395

Reviewers: brechrt
August 4, 2019, 08:21 (GMT)
Fix T68202: GPencil Set Origin do not refresh until object is moved
August 4, 2019, 02:53 (GMT)
Cleanup: improve comments
August 4, 2019, 02:51 (GMT)
Cleanup: spelling
Revision 85a7ceb by Your Name
August 3, 2019, 20:22 (GMT)
UI: Fix Small inconsistency in particle emission

This property was being called something
else depending on the distribution type
August 3, 2019, 16:47 (GMT)
Cleanup: Fix build error with msvc

math.h does not define M_PI on windows, needs BLI_math_base.h to get them.

thanks to @quollism on chat for spotting it.
August 3, 2019, 15:31 (GMT)
3D View: preferences for rotate sensitivity

Added because the current default is too fast
for painting with tablets, see D5385.

Turntable and trackball have different settings because
turn-table uses an angle-per-pixel, where as trackball
values are relative to the view-port size so a scale is used.

The sensitivity is scaled by the pixel size so hi-dpi views don't rotate faster.
August 3, 2019, 15:19 (GMT)
3D View: aspect correct trackball rotation

Hard coded aspect was used, doubling horizontal input
however this caused sliding for views which didn't match this aspect.

Calculate the aspect based on the view bounds instead.
August 3, 2019, 15:18 (GMT)
Cleanup: trackball direction calculation

Remove z axis flipping, only needed because x & y were flipped.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021