Commit Graph

84473 Commits

Author SHA1 Message Date
c3650e496b Fix missing update when toggling NLA solo mode. 2018-12-23 17:32:17 +03:00
02f083cdce BLI_math_rotation: properly name the quaternion power function.
"angular mult factor" is a completely unintelligible description
for a function that raises a unit quaternion to the scalar power.
2018-12-23 15:28:32 +03:00
1574b691f3 Fix T59782: Replace RMB by MMB in bottom help text 2018-12-23 10:16:57 +01:00
2c0c1f494d Point locale sub-repo to blender2.7 branch.
Since we start translating for 2.8 very soon, better to archive 2.7x
translations in their own branch. ;)
2018-12-22 15:10:24 +01:00
4c5e76025d GP: Update Suzanne 2D object
Review of the "D Suzanne to reduce number of points and small changes in shapes and colors.

Designed by Matias Mendiola and Daniel M. Lara
2018-12-22 10:56:04 +01:00
dafaa6f228 Fix T59505: Knife tool cut preview line becomes black
The root of the problem is that KnifeTool_OpData->colors was not init in
some cases. But the reason is unknown as it seems to be random and the
init function was always called.

So instead on init the color only once, we query the colors each time
we draw the knife points.
The overhead of this approach is negligeable.
2018-12-22 01:52:47 +01:00
a451d4abbc Fix T59644: FPS meter not showing in VSE
Issue caused probably by typo
2018-12-21 16:27:08 -08:00
f1f8859ad5 Cleanup: const cast 2018-12-22 08:14:41 +11:00
afa3aec45d Fix T59734: cyclic dependency with drivers on PoseBone.bbone_*.
Allow more flexible use of drivers on B-Bone properties by
connecting the dependencies to the actual operation node that
uses the values, instead of the whole component.
2018-12-21 23:10:16 +03:00
c79b849097 Fix T58327: Quick Favorites "Remove from Favorites" missing for added
Modifiers

Since user menu entries from SPACE_BUTS/SPACE_TOPBAR are also shown in
other Editors (SPACE_VIEW3D), also allow these entries to be removed
from Quick Favorites from these Editors.
Match and deduplicate logic from screen_user_menu_draw() and
ui_popup_context_menu_for_button().

Reviewers: campbellbarton, brecht

Maniphest Tasks: T58327

Differential Revision: https://developer.blender.org/D4112
2018-12-21 21:06:52 +01:00
e6e2f65585 Fix T59686: snap to adaptive grid occurs with a "delay"
In blender 2.8, when you zoom in, the adaptive subdivisions appear earlier than previous versions.
The grid still appears a little before the snap, but since it is very small I see no advantage in snap for this case.
2018-12-21 16:56:55 -02:00
e119868caa GP: Primitive: Changes from gp branch
F-key to change stroke brush size
Fix random bias for jitter
2018-12-21 18:48:57 +00:00
8e331c3431 Fix T59565: NaN/crash with zero radius tip of hair curves. 2018-12-21 18:54:45 +01:00
c93fd8438c Cleanup: fix more ATTR_FALLTHROUGH warnings.
Ref D3960.
2018-12-21 17:23:49 +01:00
275c627b5e Merge branch 'blender2.7' 2018-12-21 17:05:56 +01:00
4eeab96f10 Cleanup: fix ATTR_FALLTHROUGH warnings.
Ref D3960.
2018-12-21 17:02:04 +01:00
2ca4f4f0cb Fix T59708: decimate modifier does not show face count before decimation. 2018-12-21 16:55:26 +01:00
d086c01645 Fix T59691: Crash when deleting data-block video or audio in a video editor 2018-12-21 16:54:17 +01:00
c16a5e772b Cleanup: Indentation 2018-12-21 16:54:17 +01:00
e56aa4ff0c Fix T59668: UV unwrap pinning bugs.
With multi object editing it creates the charts twice, which broke some
logic in the unwrapper.
2018-12-21 16:34:08 +01:00
bf168a05cd Workbench: Fix crash when using more than one metaball
Was caused by recent change in logic
2018-12-21 16:14:19 +01:00
a2a2fe1f22 Fix T59608: Curves invisible in object mode 2018-12-21 16:14:19 +01:00
0edd93effb Fix inconsistent/broken Cycles object visibility for instances.
Object visibility is now handled by the depsgraph iterator, but this API
was incomplete as it made no distinction for visibility of the object itself,
particles and generated instances.

The depsgraph iterator API now includes information about which part of the
object is visible, and this is used by Cycles to replace the old custom logic.
Cycles and EEVEE visibility should now be consistent, which unfortunately does
means some subtle compatibility breakage for both.

Fixes T58956, T58202, T59284.

Differential Revision: https://developer.blender.org/D4109
2018-12-21 16:05:48 +01:00
adec52a8a8 Merge branch 'blender2.7' into master. 2018-12-21 15:56:15 +01:00
82c3fdd559 Fix T57907: Crash with hair when switching between object and edit mode
Was only visible after going in and out (with some strokes inbetween)
hair edit mode. The edit structure was never freed during Blender
session for some reason. Now we free those when leaving particle
edit mode.
2018-12-21 14:39:43 +01:00
494d13115c Fix T59687: Crash when rendering animation
The issue was caused by shape keys datablock from evaluated mesh
being added to the main database.

This commit makes it so shape keys are not copied for the mesh
used as cage.
2018-12-21 14:23:06 +01:00
c9df453ce7 Update for moving blender2.8 to master. 2018-12-21 12:15:21 +01:00
d6ca47a344 Update .arcconfig for moving master to blender2.7 branch. 2018-12-21 12:12:32 +01:00
e72f989cf4 Update for moving master to blender2.7 branch. 2018-12-21 12:01:05 +01:00
4f6b4ceb6c Correct orientation pie menu
Missing from recent orientation update.
2018-12-21 21:30:06 +11:00
1b674d70a3 GP: Cleanup weird thickness scale
This code used old factor, but now this only adds complexity and makes code hard to understand.
2018-12-21 11:27:24 +01:00
Dalai Felinto
36184f7392 Fix T57816: Crash when deleting recently orphaned collection
We were never removing the parent collection from a collection upon removal
of the parent.

Reviewers: mont29

Differential Revision: https://developer.blender.org/D4099
2018-12-21 07:49:10 -02:00
8cbadde1a5 Fix T59673: wrong B-Bone handle references when duplicating bones.
Also fix and improve symmetrize behavior.
2018-12-21 12:10:23 +03:00
cded90f989 Fix T59709: Light target gizmo scaling
Gizmo was scaling w/ object.
2018-12-21 19:25:56 +11:00
890507d12f GP: Move calculated center only for selected strokes 2018-12-21 08:44:38 +01:00
c3545e7311 GP: Cleanup API removing extra ID parameter 2018-12-21 08:43:00 +01:00
be619b5888 Fix bug selecting verts in mixed edge/vert mode
Own regression from 2.7x when adding multi-object select support.
2018-12-21 18:17:59 +11:00
63fcbfc3a7 RNA: naming, user-preferences -> preferences 2018-12-21 12:55:02 +11:00
9dde3e42a7 3D View: add object color drawing option
Has some advantages over existing options.

- Using material links color to rendering with no way to vary colors
  if objects share a material.
- Random gives no control, objects may randomly have the same color,
  duplicating an object often changes it's color.
2018-12-21 11:45:01 +11:00
c8dfe763e5 Cleanup: unused arg 2018-12-21 11:38:38 +11:00
7a26e930a8 Cleanup: macro hygiene, line length 2018-12-21 10:46:26 +11:00
217727cb35 Mesh Batch Cache: Fix missing flag for looptris indexbuf generation
Fix T59637: Crash report - Overlays -> Face Orientation causes crash
2018-12-20 23:42:21 +01:00
d7b7a6945e Workbench: Fix wrong TEXTURE_DRAWING_ENABLED check and rework drawing logic
This makes the code easier to follow. Batches are now assumed to be not
NULL as the request system garatees it.
2018-12-20 23:25:34 +01:00
db410385b7 UI: use smaller widget for expanding hidden region
The '+' widget to show a hidden region came too close to overlapping
the viewport navigation gizmo and text editor text.

Reduce size and use an arrow icon.

D4110 by @gnastacast
2018-12-21 09:12:59 +11:00
0dabd312d4 Library: correct BKE_id_to_unique_string_key fix 2018-12-21 08:37:18 +11:00
4d9606ef19 GP: Use only selected points to calc transform center 2018-12-20 21:25:29 +01:00
b49699b1ec GP: Enable center for Local Origins only
This produces very interesting effects when move using proportional editing.
2018-12-20 19:32:22 +01:00
cb95d20595 GP: Undo center calculation
This is breaking the transformation with falloff enabled.
2018-12-20 19:15:01 +01:00
9ebd309e2b GP: Change default parameters for convert curves.
Now the link strokes is disabled by default.

Also some minor changes to adapt to new GP object.
2018-12-20 17:35:59 +01:00
545f3f1728 Fix T59648: Linking material to greasepencil object causes crash 2018-12-20 17:14:03 +01:00