Campbell Barton
f35e9f047a
Merge branch 'master' into blender2.8
2018-09-19 12:14:36 +10:00
Campbell Barton
bb3ec3ebaf
BLI_utildefines: rename pointer conversion macros
...
Terms get/set don't make much sense when casting values.
Name macros so the conversion is obvious,
use common prefix for easier completion.
- GET_INT_FROM_POINTER -> POINTER_AS_INT
- SET_INT_IN_POINTER -> POINTER_FROM_INT
- GET_UINT_FROM_POINTER -> POINTER_AS_UINT
- SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-19 12:12:21 +10:00
Campbell Barton
0ddf3e110e
Cleanup: comment blocks
2018-09-02 18:51:31 +10:00
Campbell Barton
ae57383648
Cleanup: comment blocks
2018-09-02 18:28:27 +10:00
Campbell Barton
21105e1b1f
Cleanup: use simple early exit for common case
...
Caused MSVC warning, may as well do simple check.
2018-08-30 01:19:44 +10:00
Andrew Hale
1e6a5eb087
Implement BMesh Operator string enumerators and docs generation.
...
Partial implementation of T56496 for review.
Reviewers: campbellbarton
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3635
2018-08-27 16:15:54 +02:00
Campbell Barton
d2e70455cf
Merge branch 'master' into blender2.8
2018-08-20 17:53:53 +10:00
Andrew Hale
f52e31a46d
Fix BMesh edge_bisect, edge_percent being ignored
...
Also fix float/int/bool access methods
2018-08-20 13:38:10 +10:00
Campbell Barton
d648501e28
BMesh: define suptype for bevel normals.out
...
Not doing this broke doc building.
2018-08-14 22:26:19 +10:00
Campbell Barton
eb7b450c0c
Cleanup: style
2018-08-10 08:14:22 +10:00
Rohan Rathi
c41ce58fde
Fix indentation, spacing and added comments
2018-08-05 08:39:20 +05:30
Rohan Rathi
997b35f57a
Added comments on hn_mode, BMOps on bevel
2018-08-04 22:31:53 +05:30
Rohan Rathi
4e6bcd10e5
Merge branch 'blender2.8' into soc-2018-bevel
2018-07-21 19:29:15 +05:30
Campbell Barton
5ebebcfbff
WM: rename manipulator to gizmo internally
2018-07-14 23:49:00 +02:00
Campbell Barton
f4d4047d80
Merge branch 'master' into blender2.8
2018-07-12 11:20:48 +02:00
Campbell Barton
d75b8e5f01
Cleanup: header guards
2018-07-12 11:19:22 +02:00
Rohan Rathi
31e43d021f
Merge branch 'blender2.8' into soc-2018-bevel
2018-07-02 23:31:19 +05:30
Campbell Barton
ea6fef9385
Merge branch 'master' into blender2.8
2018-06-30 10:32:55 +02:00
Campbell Barton
b26e9f0000
Cleanup: rename bmesh_queries -> bmesh_query
...
Other files with the same purpose already used 'query'.
2018-06-30 10:32:21 +02:00
Bastien Montagne
5ba87cf22e
Cleanup: remove another bunch of DM usages, includes etc.
2018-06-29 14:57:02 +02:00
Campbell Barton
9bd0c63382
Merge branch 'master' into blender2.8
2018-06-29 08:05:38 +02:00
Campbell Barton
af36dd4664
Cleanup: trailing newlines
2018-06-29 08:02:49 +02:00
Rohan Rathi
3504b27c50
Patch to fix shading continuity.
...
Added it as extension to harden. Tried out different methods to fix normals,
Though as with width and segments changes shape, orientation of new polys
a non-smooth method of fix was not possible. Current method aggregates
vertex normals into a smooth fan without affecting edge shading.
Still need to fix the crease at new vertex edges
2018-06-27 20:19:15 +05:30
Bastien Montagne
65128cde51
Cleanup: remove BKE's modifiers_bmesh.c, other DM removal/cleanup in BMesh code.
2018-06-27 10:59:52 +02:00
Rohan Rathi
1757b38179
Added UI for harden normals and normal control in bevel modifier
2018-06-23 01:46:42 +05:30
Rohan Rathi
c73a6b0d42
Merge branch 'blender2.8' into soc-2018-bevel
2018-06-20 22:29:44 +05:30
Sergey Sharybin
d5ec62a0c3
Multires: Remove unused function
...
It uses derived mesh, and relies on scene stored in modifier data.
So port is needed anyway.
2018-06-18 11:14:00 +02:00
Campbell Barton
0b8c2eed75
Merge branch 'master' into blender28
2018-06-15 15:42:42 +02:00
Howard Trickey
b84fad2ba3
Fix T55490, intersect two triangles fails.
...
Need to use the 'use_partial_connect' option in island connect,
so changed signatures of various functions to pass that into and
then down from BM_mesh_intersect (making true for intersect, false
for boolean).
Then fix bm_face_split_edgenet_partial_connect to work when
input edges are not necessarily wire, but at least not in the
face they are being connected in. That caused generalization
of core BM_vert_separate_hflag_wire (which is only used in
this one place in all Blender).
2018-06-15 08:48:45 -04:00
Bastien Montagne
4943739b89
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenloader/intern/readfile.c
source/blender/editors/mesh/editmesh_utils.c
source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-13 16:42:56 +02:00
Bastien Montagne
f61c30f804
Cleanup: get rid of last G.main in BMesh code.
2018-06-13 16:29:12 +02:00
Rohan Rathi
1255129932
Merge branch 'blender2.8' into soc-2018-bevel
2018-06-11 21:03:07 +05:30
Rohan Rathi
0c6410ec0c
Added ability to harden normals.
...
Uses 2 different params: mode and strength. There are still some
hiccups with how 2.8 interacts with normals. Will resolve as
support gets better
2018-06-11 11:58:26 +05:30
Campbell Barton
a3f520170c
Merge branch 'master' into blender2.8
2018-06-07 14:58:57 +02:00
Campbell Barton
6242940639
Fix double free in dyntopo-sculpt mode undo
2018-06-07 14:54:09 +02:00
Sybren A. Stüvel
a9ed50514c
Moved function declarations from BKE_mesh.h → BKE_mesh_runtime.h
2018-06-05 16:59:18 +02:00
Rohan Rathi
2903146826
Added UI support for seams and sharp edges and cleanup
2018-06-04 15:13:54 +05:30
Campbell Barton
5b64301834
Merge branch 'master' into blender2.8
2018-06-04 09:06:14 +02:00
Campbell Barton
854db8951b
Cleanup: strip trailing space in bmesh module
2018-06-04 08:49:47 +02:00
Campbell Barton
bfe1d0e0dc
Merge branch 'master' into blender2.8
2018-06-01 18:26:42 +02:00
Campbell Barton
75fc1c3507
Cleanup: trailing whitespace (comment blocks)
...
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-06-01 18:19:39 +02:00
Rohan Rathi
5d2d36b068
Applied soc-2017-normal-tools
2018-05-25 22:24:24 +05:30
Germano
5503e2565b
Bmesh: Clear possible geometry saved at runtime when converting bmesh to mesh.
2018-05-11 15:48:14 -03:00
Sybren A. Stüvel
8b4127abda
Expanded BMALLOC_TEMPLATE_FROM_ME to accept two meshes
2018-05-09 15:44:49 +02:00
Campbell Barton
bfc9d426bb
Multi-Object Editing
...
This adds initial multi-object editing support.
- Selected objects are used when entering edit & pose modes.
- Selection & tools work on all objects however many tools need porting
See: T54641 for remaining tasks.
Indentation will be done separately.
See patch: D3101
2018-04-16 17:56:50 +02:00
Campbell Barton
9a11aeb300
Merge branch 'master' into blender2.8
2018-04-16 17:24:20 +02:00
Campbell Barton
95eb9f22e6
Cleanup: indentation
2018-04-16 17:16:29 +02:00
Campbell Barton
85de548e03
Cleanup: indentation
2018-04-16 17:08:27 +02:00
Campbell Barton
1c24c04e60
Remove workspace object mode, reverts changes w/ 2.8
...
This caused too many problems syncing object modes
with multiple objects/windows/workspaces, see: D3130 for details.
2018-04-05 18:21:14 +02:00
Campbell Barton
e52beb3733
Merge branch 'master' into blender2.8
2018-04-03 18:12:39 +02:00