Germano
785e8a636a
GHOST: Fix processEvents not notifying events handled by the system if the window is hidden.
...
Reviewed By: @LazyDodo
Differential Revision: https://developer.blender.org/D3154
2018-04-19 11:26:33 -03:00
Germano
ffe02e17b2
GWN Immediate: use GWN_BATCH_OWNS_VBO for created with imm immBeginBatch.
2018-04-19 11:24:10 -03:00
Germano
1266a36b87
UV Editor: Fix memleak with loop_vbo and loop_batch.
2018-04-19 11:22:16 -03:00
Germano
ec86bebb87
UV Editor: Style: rename variables to match others.
2018-04-19 11:20:13 -03:00
Clément Foucault
95e39943ef
UV Editor: Fix memleak from recent changes.
2018-04-19 15:47:02 +02:00
Jeroen Bakker
733fd3eabd
Workbench: removed per collection object color
...
Will be part of the collection manager where per collection the
ob->col can be set. This currently depends on DepsGraph +
CollectionManager.
I removed it for now so the code won't influence development
2018-04-19 15:22:30 +02:00
Jeroen Bakker
8a2f0058ae
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
2018-04-19 14:49:34 +02:00
Jeroen Bakker
a305652d87
Workbench: Diffuse studio lighting
2018-04-19 14:48:53 +02:00
Clément Foucault
723c33aba0
UV Editor: Fix overflow issue with IMM usage.
...
Use batch API in this case.
It's not the ideal solution (slow) but it works.
2018-04-19 14:25:59 +02:00
Clément Foucault
e2dce975bc
UV Editor: Fix imm assert about program still bound.
2018-04-19 14:25:44 +02:00
Campbell Barton
9d6a175756
Merge branch 'master' into blender2.8
2018-04-19 12:53:21 +02:00
Campbell Barton
da82269c58
Cleanup: rename Icon.type -> id_type
...
Confusing when adding non-id icons.
2018-04-19 12:52:32 +02:00
Jeroen Bakker
0a679c6b68
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
2018-04-19 12:47:11 +02:00
Jeroen Bakker
b0d5e74fcc
Workbench: drawtype object color from collection to v3d
...
Now every 3d view can have its own solid draw color setting
2018-04-19 12:44:37 +02:00
Joshua Leung
2029697861
Fix: Armature display settings (names, axes, shapes, etc.) didn't refresh view with Copy on Write enabled
...
Now we need to tag the depsgraph to inform all copies that stuff changed.
2018-04-19 12:37:17 +02:00
Sergey Sharybin
b352d2705d
Depsgraph: Fix crash with copy-on-write enabled
...
Was caused by ec0756af6c , once again, we can't pass view layer,
need to pass index.
The sad part is that currently we don't have quick way to look up
view layer by index. Can do similar thing as we do for bones and
bases.
2018-04-19 12:05:17 +02:00
Campbell Barton
caa7101df5
Fix edit-bone select crash w/ multi-edit
...
Also avoid duplicate base lookups and minor cleanup.
2018-04-19 11:30:22 +02:00
Campbell Barton
f2a3579661
Fix bug with NULL context being used in undo
...
Caused sculpt to crash.
2018-04-19 11:12:57 +02:00
Sergey Sharybin
63225d7c8b
Port particle instance modifier changes from Gooseberry branch
...
The work is mainly from Lukas Toenne, with some modifications from myself.
Includes following obvious changes:
- Particle system selection is now name-based, with lookup menu.
- Lots of new options to control varieties.
Changes comparing to the Gooseberry branch:
- Default values and versioning code ensures same behavior as the
old modifier.
- Custom data layers are coming from vertex color, the modifier
does not create arbitrary layers now. The hope is to keep data
more manageable, and maybe make it easier to select in the shader
later on.
This means, values are quantized to 256 values, but it should be
enough to get varieties in practice.
Reviewers: brecht, campbellbarton
Reviewed By: brecht
Subscribers: eyecandy
Differential Revision: https://developer.blender.org/D3157
2018-04-19 10:51:18 +02:00
Jeroen Bakker
a8db1efbcf
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
2018-04-19 10:42:03 +02:00
Jeroen Bakker
3a4a5ed378
Workbench: added draw_scene_finish to workbench_materials
2018-04-19 10:41:24 +02:00
Brecht Van Lommel
1802c6e4a1
Fix use of missing properties in UI after game engine removal.
2018-04-19 10:32:39 +02:00
Bastien Montagne
79899373eb
Finish use-after-free in workbench code.
...
GHash should probably not own the data itself, but that's other question
to be fixed later, at least this fixes the crash.
Solution by @fclem, thanks!
2018-04-19 10:25:52 +02:00
Jeroen Bakker
8a923e5295
Code cleanup
2018-04-19 09:51:22 +02:00
Jeroen Bakker
163b631122
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
2018-04-19 09:49:44 +02:00
Jeroen Bakker
16fac020e0
Workbench: Option to use Object color
...
- added `object_color_type` where the user can set if the collection
determines the color, or the object will be used for the color.
Implemented it as an enum as later this can have a random color option.
- moved OB_LIGHTING_* to DNA_view3d_types and renamed it.
- Fixed some DRY in workbench_materials.c. Can remove more DRY's but
will need to discuss the responsibility of the workbench engine as it
might become part of the eevee renderer.
2018-04-19 09:45:52 +02:00
Campbell Barton
95a45e308d
BMesh: Add back call to finish operator
...
Was commented in multi-edit patch, finish is needed to free memory.
2018-04-19 09:10:10 +02:00
Campbell Barton
81673f5ab7
Fix T54712: Undo w/ multi-edit failed
2018-04-19 08:58:49 +02:00
Campbell Barton
9a301978bd
Merge branch 'master' into blender2.8
2018-04-19 08:18:42 +02:00
Campbell Barton
fcac9e8410
Cleanup: style
2018-04-19 08:18:16 +02:00
Campbell Barton
9f7f6d5540
Undo: add missing flag for text delete
2018-04-19 08:16:37 +02:00
Campbell Barton
1f5d51e44e
Cleanup: style
2018-04-19 07:47:03 +02:00
Thomas Beck
5b45d32f3a
Edit Mesh: multi-object support for 'Decimate Geometry'
2018-04-19 00:30:05 +02:00
Thomas Beck
7c415e6fd7
Edit Mesh: multi-object support for 'Vertices Only' extrusion (Alt+E)
2018-04-19 00:03:51 +02:00
Thomas Beck
07774d4860
Edit Mesh: multi-object support for 'Individual Faces' extrusion (Alt+E)
2018-04-18 23:55:27 +02:00
Thomas Beck
d8f70a26fd
Edit Mesh: multi-object support for 'Edges Only' extrusion'
2018-04-18 23:53:21 +02:00
Thomas Beck
1ade071052
Edit Mesh: multi-object duplicate_move support
2018-04-18 23:18:08 +02:00
Campbell Barton
abeae5d38e
Cleanup: indent face poke example
2018-04-18 23:16:34 +02:00
Campbell Barton
75133f5d7c
Cleanup: Use BLI_layer / BLI_view_layer prefix
...
Also use doxy sections for iterators.
2018-04-18 21:18:05 +02:00
Campbell Barton
69c42ad57b
Cleanup: consistent changed_multi assignment
2018-04-18 19:22:00 +02:00
Dalai Felinto
4704f2687a
Edit Mesh: multi-object flip normals support
2018-04-18 19:15:01 +02:00
Campbell Barton
7560aabf71
Pose: multi-object Flip Quats
2018-04-18 19:11:11 +02:00
Campbell Barton
e0478ae92f
Pose: multi-object support for clear transform
2018-04-18 18:56:27 +02:00
Campbell Barton
602f0bc2d4
Use macros for looping over pose bones
2018-04-18 18:56:27 +02:00
Campbell Barton
42b0cd1ea0
MSVC: use 'unsigned int'
2018-04-18 18:56:27 +02:00
Sergey Sharybin
ec0756af6c
Depsgraph: Fix base flag flush for objects from set scene
...
Fixes view_layer_background_set regression test.
This makes Dalai happy! :)
2018-04-18 18:05:37 +02:00
Sergey Sharybin
3701cf785c
Depsgraph; Correct assert for depsgraph scene
...
We can not do it from builder, since builder will pull set scenes.
2018-04-18 17:43:15 +02:00
Sergey Sharybin
3c7254ffb6
Depsgraph: Fix missing bases array update
...
view_layer_object_copy test was broken.
This is a quick fix for now, can be optimized further later.
2018-04-18 17:35:05 +02:00
Campbell Barton
4ec55350d4
Edit Mesh: improve subdivide multi-object
...
Don't run the operator on faces/edges without selection.
2018-04-18 17:22:51 +02:00
Campbell Barton
3a9669bfff
Edit Mesh: multi-object poke support
2018-04-18 17:15:58 +02:00