Charlie Jolly
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
Brecht Van Lommel
2ca4f4f0cb
Fix T59708: decimate modifier does not show face count before decimation.
2018-12-21 16:55:26 +01:00
Sergey Sharybin
d086c01645
Fix T59691: Crash when deleting data-block video or audio in a video editor
2018-12-21 16:54:17 +01:00
Sergey Sharybin
c16a5e772b
Cleanup: Indentation
2018-12-21 16:54:17 +01:00
Brecht Van Lommel
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
Clément Foucault
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
Clément Foucault
a2a2fe1f22
Fix T59608: Curves invisible in object mode
2018-12-21 16:14:19 +01:00
Brecht Van Lommel
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
Sergey Sharybin
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
Sergey Sharybin
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
Brecht Van Lommel
c9df453ce7
Update for moving blender2.8 to master.
2018-12-21 12:15:21 +01:00
Antonioya
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
Alexander Gavrilov
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
Campbell Barton
cded90f989
Fix T59709: Light target gizmo scaling
...
Gizmo was scaling w/ object.
2018-12-21 19:25:56 +11:00
Antonioya
890507d12f
GP: Move calculated center only for selected strokes
2018-12-21 08:44:38 +01:00
Antonioya
c3545e7311
GP: Cleanup API removing extra ID parameter
2018-12-21 08:43:00 +01:00
Campbell Barton
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
Campbell Barton
63fcbfc3a7
RNA: naming, user-preferences -> preferences
2018-12-21 12:55:02 +11:00
Campbell Barton
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
Campbell Barton
c8dfe763e5
Cleanup: unused arg
2018-12-21 11:38:38 +11:00
Campbell Barton
7a26e930a8
Cleanup: macro hygiene, line length
2018-12-21 10:46:26 +11:00
Clément Foucault
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
Clément Foucault
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
Campbell Barton
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
Campbell Barton
0dabd312d4
Library: correct BKE_id_to_unique_string_key fix
2018-12-21 08:37:18 +11:00
Antonioya
4d9606ef19
GP: Use only selected points to calc transform center
2018-12-20 21:25:29 +01:00
Antonioya
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
Antonioya
cb95d20595
GP: Undo center calculation
...
This is breaking the transformation with falloff enabled.
2018-12-20 19:15:01 +01:00
Antonioya
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
Antonioya
545f3f1728
Fix T59648: Linking material to greasepencil object causes crash
2018-12-20 17:14:03 +01:00
Antonioya
36121a1bdc
GP: Changes in API to make internal update
...
Now, the internal data is recalculated when add or remove a point.
The change in the API affect to stroke.points.add() that now requires a datablock parameter. This parameter is required to identify the datablock affected.
For example: stroke.points.add(gpencil, 1) instead of stroke.points.add(1)
This is the second try to fix T59600
2018-12-20 16:52:42 +01:00
Jacques Lucke
8095e660c0
Fix T59672: UVs are not updating when changed in panel
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4111
2018-12-20 13:40:36 +01:00
Antonioya
30dea81fb6
Revert "GP: New Python update API functions (WIP)"
...
This reverts commit e79f401ffa .
The new API were against general design rules.
2018-12-20 13:38:51 +01:00
Sebastian Parborg
a8103a0256
Fix T59083: normal transform orientation ignores absolute grid snap.
...
Absolute grid snap now takes into account the transform local axis.
Differential Revision: https://developer.blender.org/D4069
2018-12-20 12:49:59 +01:00
Antonioya
e79f401ffa
GP: New Python update API functions (WIP)
...
For strokes:
myframe.strokes.update(mystroke)
For datablock:
gpencil = bpy.data.grease_pencil['gpencil']
gpencil.update()
Still need a manual refresh of viewport.
2018-12-20 12:37:12 +01:00
Jacques Lucke
c02f67fa8a
Fix T57777: Decimate modifier face count does not work
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4106
2018-12-20 11:17:45 +01:00
Jacques Lucke
ae028ef206
Fix T57045: Unhandled degenerate case in bevel code
...
Reviewers: howardt
Differential Revision: https://developer.blender.org/D4104
2018-12-20 10:58:50 +01:00
Jacques Lucke
b047866459
Fix T58404: Node/Socket grabbing with Lasso tool
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4108
2018-12-20 10:55:30 +01:00
Campbell Barton
7d8f57e0c0
Correct own error in 1ce9a142b6
...
Enum for scene orientations included default.
2018-12-20 18:18:42 +11:00
Campbell Barton
d5f87bdde6
Merge branch 'master' into blender2.8
2018-12-20 17:53:12 +11:00
Campbell Barton
f7d216c1b6
Fix T59074: BMesh intersect hangs
...
This is a degenerate intersection, exit early instead of hanging.
2018-12-20 17:50:36 +11:00
Campbell Barton
320e7f5322
Cleanup: naming
2018-12-20 17:34:30 +11:00
Campbell Barton
669b23daed
Tool System: default node editor to select tool
...
With box select you can't cut-links with RMB select.
2018-12-20 14:26:50 +11:00
Campbell Barton
5921656655
Merge branch 'master' into blender2.8
2018-12-20 12:24:37 +11:00
Campbell Barton
306bc5fd1a
PyAPI: don't truncate enums in exception messages
...
Not necessary and confusing when only some of the items are displayed.
See: T59044
2018-12-20 12:20:34 +11:00
Campbell Barton
91240f15c5
UI: add UILayout.direction
...
Read only attribute, needed for introspection.
2018-12-20 11:59:31 +11:00
Campbell Barton
756be8f4d8
UI: add method to draw menu contents
...
This supports expanding menu contents into an existing layout.
Needed to fix T58937.
2018-12-20 11:33:08 +11:00
Campbell Barton
a91886e76e
Fix possible key collision w/ BKE_id_to_unique_string_key
...
BKE_id_full_name_get doesn't ensure unique output, use a simple
method to create a unique key, guaranteed not to collide.
2018-12-20 09:35:46 +11:00
Antonioya
ab144437e2
Fix T59579: Grease Pencil copy buffer loses material information
2018-12-19 22:57:03 +01:00