Blender Git Commits

Blender Git "master" branch commits.

Page: 1188 / 5574

May 17, 2019, 20:56 (GMT)
Fix T64775: crash loading Eevee files with DoF, after recent changes

Additional fix to ensure Cycles versioning is done after Eevee.
May 17, 2019, 20:51 (GMT)
Fix T64775: crash loading Eevee files with DoF, after recent changes

Version after lib linking due to following ID pointers.
May 17, 2019, 18:03 (GMT)
Images: changes to avoid losing new images that have not been saved

The basic idea is that such new images will be packed into the .blend file
when saving all modified images from the quit dialog. To make this workflow
nicer a number of changes were made to how this type of packed image is
handled.

* "Save Modified Images" now packs generated images into the .blend file.
* "Save As" for packed images now automatically unpacks the image, so that
it's easy to save automatically packed images. "Save Copy" keeps it packed.
* "Save" for packed images now re-saves the image into the .blend file, so
that it's effectively the equivalent of "Save" for non-packed images.
* Empty image filepaths are no longer remapped when saving the .blend file.
Previously it would become e.g. "//../../" which makes no sense for generated
images with no filepath yet.
* Hide unpack button and filepath for such packed images with no filepath.
Unpacking does not work in a predictable way without a filepath, better
to just "Save As".
May 17, 2019, 17:25 (GMT)
Cleanup: Eevee: Use dummy texture for GTAO when not enabled
May 17, 2019, 17:00 (GMT)
Fix T64300: Missing update of original data-block on redo

Dependency graph was not yet set as active when is used by
operator which is being redone.
May 17, 2019, 16:58 (GMT)
UI: Small tweaks to the save dialog:

- Add back info icon at the top.
- Remove icons from the buttons. None of the OS's we support use icons here
- Remove button align. It doesn't work well with the active default highlighting
- Center-align the text inside the buttons

To make this look even nicer, we should add more padding all around the edges, but that could be done separately.
May 17, 2019, 16:49 (GMT)
Outliner: Make restriction icons inactive based on hierarchy value

If the parent of a collection has a setting disabled, the children should have
that setting inactive.

In some cases a column may affect another one. For example, disabling a
collection to render should make holdout and and indirect only inactive.

In View Layer it works for both objects and collections.
For Scenes mode, it works only for collections.

Differential Revision: https://developer.blender.org/D4888
May 17, 2019, 16:26 (GMT)
Fix meshes.new_from_object() not preserving materials
May 17, 2019, 16:17 (GMT)
Eevee / Workbench: Fix hair normals

Hair normals were not behaving correctly. This corrects their looks and
fix the node shader geometry that was showing the flat normal.
May 17, 2019, 16:17 (GMT)
Cleanup: Eevee: Use DRW_PASS_CREATE macro when possible
May 17, 2019, 16:17 (GMT)
Cleanup: DRW: Remove uneeded DRWState values

This removes:
- DRW_STATE_TRANS_FEEDBACK
- DRW_STATE_WIRE
- DRW_STATE_POINT
May 17, 2019, 16:02 (GMT)
Fix T64759: Pick select selects an incorrect face in edit mode.

Bug introduced in T64759.
May 17, 2019, 15:59 (GMT)
Images: make it harder to accidentally undo image texture painting changes

Editing properties like generated X/Y size clears any changes to the image,
and it's not obvious that this is destructive. Now if the image has been
painted on or baked to, buttons to Save or Discard changes will appear and
editing the properties will be disabled until doing one of these.
May 17, 2019, 15:59 (GMT)
Images: make image save operator available outside image editor

This includes some refactoring of image operator poll functions.
May 17, 2019, 15:59 (GMT)
Cleanup: remove unused image code
May 17, 2019, 15:59 (GMT)
Cleanup: move Image flags into DNA, for consistency with other types
May 17, 2019, 15:59 (GMT)
Cycles/Eevee: unify depth of field settings for cameras

There is now a checkbox to enable/disable depth of field per camera. For Eevee
this replace the scene level setting. For Cycles there is now only an F-Stop
value, no longer a Radius.

Existing files are converted based on Cycles or Eevee being set in the scene.

Differential Revision: https://developer.blender.org/D4882
May 17, 2019, 15:55 (GMT)
UI: Use correct icon for saving in the close dialog.
May 17, 2019, 15:43 (GMT)
UI: File Close Dialog

This adds a new dialog that is shown whenever a file is closed.
So, either when a new file is opened, or when Blender quits.
The dialog allows to save unsaved changes. Furthermore it also
allows saving images that have been modified in Blender, but are
not saved yet.

Known limitations:
* Images that have no file path and have not been packed before,
are not saved.
* On MacOS the old dialog is shown when Blender quits.

Reviewers: brecht, billreynish

Differential Revision: https://developer.blender.org/D4860
May 17, 2019, 14:34 (GMT)
Fix Blender menu not collapsing when Show Menus is disabled.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021