Campbell Barton
df2de43459
Modifiers: ported Wave from DerivedMesh to Mesh
...
D3350 by @alikendarfen
2018-05-12 09:22:34 +02:00
Campbell Barton
4dc91ebf81
Merge branch 'master' into blender2.8
2018-05-12 08:22:03 +02:00
Campbell Barton
1813f00b94
Fix missing fallback in recent aabb precalc func
...
Also comment unused vars
2018-05-12 08:19:20 +02:00
Campbell Barton
c84b8d4801
Cleanup: modifier arg wrapping
2018-05-12 08:04:56 +02:00
Germano
be8add5d50
Refactor: Move functions to get the distance to a projected aabb to BLI_match and remove confusing parameters.
2018-05-11 20:20:51 -03:00
Campbell Barton
6aca3e43ec
UI: tweaks to icon defaults
...
Minor changes to fit w/ new icons.
2018-05-11 22:15:05 +02:00
Germano
5503e2565b
Bmesh: Clear possible geometry saved at runtime when converting bmesh to mesh.
2018-05-11 15:48:14 -03:00
Campbell Barton
194cba8ba4
Merge branch 'master' into blender2.8
2018-05-11 20:13:07 +02:00
Campbell Barton
925e775818
EditMesh: remove duplicate rip macro
...
Change the fill setting in the keymap,
this allows tool access the macro with either setting.
2018-05-11 20:02:12 +02:00
Campbell Barton
73a7885ab3
WM: initialize last used macro properties
2018-05-11 20:01:51 +02:00
Clément Foucault
ef49a587d4
DRW: Add DRW_UNIFORM_FLOAT_COPY and DRW_UNIFORM_BOOL_COPY.
...
And also use a union instead of forcing the cast to void*.
2018-05-11 19:00:32 +02:00
Clément Foucault
10b9c86c80
DRW: Add DRW_view_layer_engine_data_ensure_ex.
2018-05-11 19:00:32 +02:00
Christian Hubert
054d837e65
Modifiers: ported Laplacian Deform DerivedMesh → Mesh
...
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3326
2018-05-11 18:10:21 +02:00
Joshua Leung
f998bad211
Fix: Last of the operators from T54811 now work with Copy on Write
2018-05-11 17:44:10 +02:00
Jeroen Bakker
d3c4248946
Workbench: StudioLight HDRI's
...
The Studio lights are now loaded from disk. The location is
`datafiles/studiolights` they need to be JPG for now. JPG cannot store
HDRI color range but they are clamped inside the Workbench
engine for speed reason. I didn't select JP2K as it might not be
enabled.
Users can add upto 20 HDRI files. This limitation is inside the
RNA_space.c Currently the icons are calculated when you first open the
selection box for the HDRI's. We could add them to a background
rendering later.
I added 2 test files a sky texture rendered in Cycles and an HDRI from
cloud.blender.org.
2018-05-11 17:02:13 +02:00
Christian Hubert
68b736ce24
Modifiers: ported Laplacian Smooth DerivedMesh → Mesh
...
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3340
2018-05-11 16:52:01 +02:00
Pablo Vazquez
625c2c2943
Use Light Probe icons
2018-05-11 16:02:30 +02:00
Pablo Vazquez
f3017bbc06
Icon for Light Probes
...
Including Cubemap, Grid and Planar
Designed by @wevon with minor modifications as part of T53840. Thanks!
2018-05-11 16:02:30 +02:00
Sergey Sharybin
66b3f0b4d0
Depsgraph: Fix redundant nodes built when animation shares same action
2018-05-11 15:49:04 +02:00
Sergey Sharybin
2f0aca4596
Particle mode: Fix memory leak with simple interpolated children
2018-05-11 15:40:46 +02:00
Christian Hubert
b5beb660b3
Modifiers: ported UV Project DerivedMesh → Mesh
...
Reviewers: sybren
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D3316
2018-05-11 15:30:01 +02:00
Sergey Sharybin
2c6e523c1f
Dar manager: Ignore non-particle-edit objects from particle mode
2018-05-11 15:12:24 +02:00
Sergey Sharybin
aefd181b0b
Fix crash going to edit mode of particles with copy on write
...
We can not rely on edit->psys, it is not set for particle edit,
and there is some logic deeper inside which does different things
dependent on that.
We need to replace those checks with some some HAIR vs. PARTICLES
flag and always set psys pointer.
2018-05-11 14:55:58 +02:00
Christian Hubert
af5428aa2b
Modifiers: ported Screw DerivedMesh → Mesh
...
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3315
2018-05-11 14:43:37 +02:00
Sergey Sharybin
690a5f0e50
Depsgraph: Remove workaround for scene free
...
No functional changes commit ;)
2018-05-11 14:28:03 +02:00
Sergey Sharybin
210bedd7e3
Remove debug only code
2018-05-11 14:24:19 +02:00
Pablo Vazquez
624829515a
Light Probe type name should be CUBEMAP, not SPHERE.
...
Change requested by @fclem
2018-05-11 13:41:52 +02:00
Sergey Sharybin
f74c604646
Remove unused functions which will break with copy-on-write
2018-05-11 12:49:25 +02:00
Sergey Sharybin
d50821f145
Particle edit: Initial support of edit with copy-on-write
...
The idea is that edit mode structure is owned by original object,
and used for drawing. This is a bit confusing, especially since
path cache is also in that structure and needs evaluated object
to calculate cache.
In the future we should split edit data from visualization data,
but that's bigger refactor.
2018-05-11 12:49:25 +02:00
Sergey Sharybin
ff3e9d0d90
Particle edit: Fix missing update after undo
...
Old code was doing draw-time calculations in some cases.
just do the same for now.
2018-05-11 12:49:25 +02:00
Sergey Sharybin
96584818b7
Draw manager: Use explicit edit structure passed in
2018-05-11 12:49:25 +02:00
Sergey Sharybin
a55c588559
Depsgraph: Move edit mode pointers trickery to own functions
2018-05-11 12:49:25 +02:00
Sergey Sharybin
1c6414dd1b
Draw manager: Get number of cached segments from edit
...
This way we know it's in sync with edit mode.
2018-05-11 12:49:25 +02:00
Sergey Sharybin
327789eaf8
Draw manager: Add utility function to check whether particle systems are to be drawn
2018-05-11 12:49:25 +02:00
Bastien Montagne
bac9b04778
Add comment about weird special handling of scene freeing in depsgraph.
2018-05-11 11:36:48 +02:00
Bastien Montagne
20b6eabd42
Fix (unreported) broken freeing code for Sequencer.
...
Freeing sequencer would always do usercount, which is now forbidden when
called from main ID freeing code.
Annoying in 2.7x, much more critical issue in 2.8!
Also, moved RNA sequencer API functions to proper rna_scene_api.c file.
2018-05-11 11:36:48 +02:00
Dalai Felinto
8b41999ea0
Multi-Object: MESH_OT_loop_to_region by Oleg
...
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3253
2018-05-11 11:34:15 +02:00
Christian Hubert
17ac0e824b
Modifiers: ported Corrective Smooth DerivedMesh → Mesh
...
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3339
2018-05-11 11:27:04 +02:00
Dalai Felinto
badd88ca02
Multi-Object: MESH_OT_screw by Nick Milios
...
With small changes.
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3276
2018-05-11 11:25:58 +02:00
Bastien Montagne
d5c1c0b10d
Fix (unreported) broken freeing code for Sequencer.
...
Freeing sequencer would always do usercount, which is now forbidden when
called from main ID freeing code.
Annoying in 2.7x, much more critical issue in 2.8!
Also, moved RNA sequencer API functions to proper rna_scene_api.c file.
2018-05-11 11:23:11 +02:00
Dalai Felinto
eacb2eb423
Multi-Object: MESH_OT_select_loose by Falk David
...
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3276
2018-05-11 11:13:09 +02:00
Christian Hubert
e0a41fd0ce
Modifiers: ported Decimate DerivedMesh → Mesh
...
Two things to indicate (which als apply before the DM → M port):
- Face count in the UI is not updated and stays at 0
- When planar mode is used, the result is inverted (mirrored along X)
compared to 2.79
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3303
2018-05-11 11:12:28 +02:00
Dalai Felinto
9d0d7c375e
Multi-Object-Editing : MESH_OT_rip by Miguel Pozo
...
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3266
2018-05-11 10:59:00 +02:00
Dalai Felinto
1fd4449762
Fix memleak on MESH_OT_tris_convert_to_quads
2018-05-11 10:52:46 +02:00
Bastien Montagne
d19c8605f8
Merge branch 'master' into blender2.8
2018-05-11 10:49:58 +02:00
Bastien Montagne
13beeb5892
Fix (unreported) load image code calling icin/preview update from non-Main thread.
...
Icin/preview only works in main thread, while image loading can be done
from others too... This could have generated random crashes and such.
2018-05-11 10:48:04 +02:00
Christian Hubert
bcb245bd71
Assign totxxx mesh attributes in BKE_mesh_new_nomain
...
Reviewers: sybren
2018-05-11 10:37:36 +02:00
Sybren A. Stüvel
4fe5a105f6
Fix bad pointer cast when modifier is used on non-mesh object
2018-05-11 10:14:35 +02:00
Campbell Barton
b726ff4fc4
EditMesh: multi-object triangle fill
...
D3336 by @nabbydude
2018-05-11 08:41:04 +02:00
Campbell Barton
1d8e6c5cd0
EditMesh: multi-object select ungrouped
...
D3295 by @philippe-bachour
2018-05-11 08:21:26 +02:00