Commit Graph

84473 Commits

Author SHA1 Message Date
Dalai Felinto
6fdfa55667 Fix T60030: Select pattern fails with pose bones
The original comment in the file was not acknoledging pose bones could be tacked
here as well (my fault since I should not have trusted the comments and read the code
intead).

Problem introduced on aeb8e81f27.
2019-01-02 10:22:00 -02:00
f15205b93f Fix T60060: Corrective Smooth Modifier binding process is broken.
Same as with the other modifiers' binding ops, those need to be
performed outside of regular depsgraph eval.
2019-01-02 11:26:31 +01:00
39e0bfe5a2 GP: Cleanup pad to _pad 2019-01-02 10:55:17 +01:00
e6d0d04dc3 UI: correct sequencer icon in add menu 2019-01-02 19:17:30 +11:00
a3b9cc71b0 UI: Show shade smooth/flat in curve context menu 2019-01-02 19:03:32 +11:00
0e81191596 Fix T59886: Missing transform gizmo update 2019-01-02 18:46:43 +11:00
3788f58e74 3D View: use grid & all axes in axis-views
Matches 2.7x behavior.
2019-01-02 18:33:07 +11:00
a76b045326 UI: add scale option for template_icon_view button
The existing scale option only changed the scale if icons in the popup.
2019-01-02 18:18:54 +11:00
15e63742e2 Cleanup: use RNA icon instead of passing as an arg 2019-01-02 17:24:24 +11:00
1a208f0326 Cleanup: indentation, naming
Use rna naming conventions for unit-settings callbacks.
2019-01-02 17:07:47 +11:00
09f46ef6fa PyRNA: enum no longer returns first item when the value isn't found
This hides errors & makes it confusing to debug mistakes
when the enum items aren't correct.

Return an empty string instead.
2019-01-02 16:39:45 +11:00
aae5f2b046 Fix image editor tool-settings missing from topbar 2019-01-02 16:26:52 +11:00
8fbba22205 Cleanup: rename manipulator references 2019-01-02 15:43:58 +11:00
5484ed01ad Cleanup: use '_pad' in DNA
Convention used elsewhere, has advantage pad vars don't autocomplete
with other vars beginning w/ 'p'.
2019-01-02 15:38:45 +11:00
2b3effe0ce Cleanup: rename target_weight -> weight
Match name of mesh weight paint.
2019-01-02 15:31:56 +11:00
46a6085c47 UI: de-duplicate top-bar and panel paint scripts
- Fixes missing check for unified brush in sculpt mode.
- Re-orders material first in gpencil paint mode
  (matching color-first for other paint modes).
- Avoid minor differences (missing tablet pressure options from topbar).
- Don't repeat properties already displayed in the topbar
  when opening the brush popover.
2019-01-02 14:58:32 +11:00
William Reynish
939c751faa UI: add painting blend mode to top-bar 2019-01-02 13:06:47 +11:00
4dd0a90f42 GP: Don't use offset for Stroke projection
The offset is only used in Surface mode.
2019-01-01 16:44:10 +01:00
4d795cee49 Fix T60015: snap to grid - snaps only to largest increment
Caused by rBc7a96651dfa4 when trying to remove all uses of the deprecated `rv3d->gridview`.
2018-12-31 13:45:20 -02:00
82e0739f64 Outliner: expand view layer collections by default, revealing objects. 2018-12-31 16:39:15 +01:00
c1d82e5849 Templates: tweaks to startup templates.
* 2D Animation: lots of changes from the grease pencil team. Properties
  editor layouts, brush and material settings, and more.
* 3D Viewport: wireframes set to 1.0.
* World: use nodes by default.
* Node Editor: use narrow toolbar.
2018-12-31 16:26:22 +01:00
e9df155d53 Viewport: update default set of HDR images.
Add city, courtyard and interior HDRs. Replace grass field and night
HDR with different images.

Command used for compression:
oiiotool %s --resize 1024x512 --ch R,G,B -d float --compression dwab:300 -o output/%s
2018-12-31 15:40:42 +01:00
fbbbb3be55 Cleanup: remove unused camera studio lights. 2018-12-31 15:40:42 +01:00
93fa7417d5 Cleanup: specify default studiolight name, instead using first alphabetically. 2018-12-31 15:40:42 +01:00
ae3f68a395 Fix T59991: duplicate entries for node select operators in keymap.
Ref D4055.
2018-12-31 14:11:42 +01:00
27619d7271 UI: icon set updates by Andrzej Ambroz. 2018-12-31 13:52:45 +01:00
d96596de29 Fix: Cramped layout in object parent properties 2018-12-30 16:30:17 +01:00
bcf0c71433 Cleanup: remove non-existing function declarations 2018-12-31 00:58:54 +11:00
d273e84c41 GP: Mew Merge Strokes operator
This operator allows to create a new stroke joining several selected points of different strokes.

The new stroke will use the current material.

To use, first select the points to be merged. Optionally can remove the old points and strokes.

The operator is available in Edit mode in the Specials menu and Stroke menu.
2018-12-30 13:08:04 +01:00
543ddbe6bf Cleanup: warnings (clang) 2018-12-30 15:15:05 +11:00
Severin
266b1e2cdb Fix: Scrolling Preferences could cause blank UI
Steps to reproduce were:
* Open Preferences
* Choose "Input" category
* Scroll to the bottom
* Choose "Interface" category

The newly activated category should now use the scrolling set previously
in the other category, causing the contents to be out of view. You
would have to scroll to bring it back.

Now scrolling is stored per category.
2018-12-29 19:10:21 +01:00
07569a333b Fix T59675: Motion path frame numbers at wrong positions
Reviewed By: brecht

Differential Revision: https://developer.blender.org/D4113
2018-12-29 18:34:25 +01:00
7c438e5366 Cleanup: avoid counting list multiple times
Also simplify selected sequencer length function.
2018-12-29 10:19:38 +11:00
363cf1152f Cleanup: use bool, style 2018-12-29 10:04:39 +11:00
3f4e3f718f Cycles: restore old sample and material override settings for view layers.
Since there will be no view layer overrides in 2.80, this is needed still.
2018-12-28 18:59:33 +01:00
a7c5f4f206 Fix T57078: Alembic curve import: better check for topology similarity
The old code assumed that if the number of curves was the same, the
entire set of curves would have the same topology (in other words, it
assumed 'same number of curves => same number of vertices for each
curve').

I've added a more thorough check that also considers the number of
vertices in each curve. This still keeps certain assumptions in place
(for example that if the topology is the same, the weights won't change,
which is not necessarily true). However, when the assumption doesn't
hold, at least now Blender doesn't crash any more.
2018-12-28 18:05:31 +01:00
196a5116aa Fix T59164: Run Alembic in background when INVOKE'd
This is similar to what physics baking is doing: invoking the operator
runs a background job, whereas executing blocks. This makes Python
scripts calling the Alembic import/export operators more predictable.

For backwardward compatibility with existing Python code the
`as_background_job` parameter still exists, which overrides the
behaviour chosen by INVOKE/EXECUTE.

Reviewers: brecht

Reviewed by: brecht

Differential revision: https://developer.blender.org/D4137/new/
2018-12-28 17:52:53 +01:00
2987782d6d Docs: update manpage and html with app description matching website. 2018-12-28 17:36:59 +01:00
William Reynish
18cb27b4f4 UI: update Blender application icon on all platforms.
More accurate logo colors, flatter look.
2018-12-28 17:26:09 +01:00
436f1a2afa Alembic import: Fix crash with mcol indices out of bounds
Part of T57377

Reviewers: sybren

Maniphest Tasks: T57377

Differential Revision: https://developer.blender.org/D3847
2018-12-28 16:47:58 +01:00
da7a342478 Alembic import: lock interface while importing
This prevents crashes caused by the viewport evaluating the depsgraph while
the import is still running.
2018-12-28 16:47:58 +01:00
c509507714 Fix T59785: Curve modifier does not update in realtime in object mode
Reviewers: brecht

Maniphest Tasks: T59785

Differential Revision: https://developer.blender.org/D4134
2018-12-28 16:26:40 +01:00
8c01cafabf Fix T59526: VSE Add submenus for clips/masks dont show with only one
item
2018-12-28 15:36:59 +01:00
3610f1fc43 Sequencer: refactor clipboard copy to no longer increase user count.
The clipboard is not a real user and should not be counted. Only on paste
should the user count increase.

This is part of D3621, and was implemented by Richard Antalik and me.
2018-12-28 14:08:02 +01:00
a4e4d9f0ab Fix more issues with recent render passes code cleanup.
Ref D4133.
2018-12-28 12:37:53 +01:00
3700192043 Fix T59910: material editor UI issue after recent changes.
This reverts part of commit 4f98266cf6, ref D4123.
2018-12-28 11:36:14 +01:00
c07ae0e821 Fix T59922: crash reading files with older renderlayers
- own error in rB2c196de56bbb163048b08f321983234a5e72e804
- now introduce RE_PASSNAME_DEPRECATED placeholder for old passes
- also dont allocate NodeImageLayers for these

Reviewers: brecht

Maniphest Tasks: T59922

Differential Revision: https://developer.blender.org/D4132
2018-12-28 11:32:33 +01:00
1e935b090b Fix T59774: Lightmap Pack Error: Element-wise multiplication: not supported between 'Quaternion' and 'Vector' types. 2018-12-28 10:37:54 +01:00
fdc726eb61 GP: Rename GP_STROKE_RECALC_CACHE to GP_STROKE_RECALC_GEOMETRY
The GP_STROKE_RECALC_CACHE identifier was changed to GP_STROKE_RECALC_GEOMETRY because the previous name was confusing and could be confused with the recalculation of the Draw Manager cache.
2018-12-28 08:48:37 +01:00
0661bcba32 Merge branch 'blender2.7'
Conflicts:
	source/blender/windowmanager/intern/wm_operators.c
2018-12-27 23:33:42 +01:00