Brecht Van Lommel
45477efd0e
UI: increase spacing between icon and text.
...
To avoid the icon and text blending together too much, which happens with
the new monochrome and slightly bigger icons.
2018-10-11 14:20:25 +02:00
Brecht Van Lommel
d90eb35662
UI: tweak vertical centering of text in buttons.
...
This effectively moves up the text by one pixel to make it look more
centered in the button and relative to the icon.
2018-10-11 14:19:25 +02:00
Clément Foucault
3f0873fa1e
Eevee: Fix blank output if scene complexity is high
...
Encountered on Nvidia + Linux, it seems that doing everything all at once
can make the driver give up the whole command list and return nothing as
the output of the render.
2018-10-11 13:20:00 +02:00
Campbell Barton
c901ebcd21
DRW: add mapped edit-mode face-dot drawing
2018-10-11 17:23:29 +11:00
Campbell Barton
5e9afe5018
Missed when bumping flags
...
Ideally these wouldn't be repeated in multiple places.
2018-10-11 17:02:42 +11:00
Campbell Barton
641190adff
DRW: Initial edit-mode cage support
...
Modifiers such as sub-surf and mirror now work with show-on-cage.
Selection and loose geometry still needs to be supported.
2018-10-11 16:53:25 +11:00
Campbell Barton
d74b89aed0
DRW: add ability to skip drawing vertices
2018-10-11 16:43:38 +11:00
Campbell Barton
b7363941f7
Cleanup: make BKE_mesh_ensure_normals_for_display public
2018-10-11 16:34:12 +11:00
Campbell Barton
bf455c2ca9
DRW: avoid edit-mode layer lookups for freestyle
2018-10-11 15:24:26 +11:00
Campbell Barton
fb79357b3e
Cleanup: assign a var to check an edge is real
...
Makes code slightly more readable.
2018-10-11 15:15:30 +11:00
Campbell Barton
fd2ffb0b9e
RNA: remove redundant new_from_object/to_mesh arg
...
If the caller wants loop-tris, there is a function to calculate them.
2018-10-11 12:24:38 +11:00
Campbell Barton
92a494ed51
DRW: remove redundant editmode mesh tessellation
...
Also re-order logic so loop indices are ensured to be valid.
2018-10-11 11:41:24 +11:00
Campbell Barton
121c94b082
Cleanup: mesh iterators
...
- Split indexed/non-indexed into separate loops.
- Avoid assigning the same value in the loop.
- Use const variables.
2018-10-11 10:34:30 +11:00
Campbell Barton
4728eed70c
UI: increase size of copy buffer
...
The length was 400 which isn't enough for some file paths.
2018-10-11 10:09:04 +11:00
Campbell Barton
926b9ae80a
UI: copy-buffer was cleared w/ non-text buttons
...
Also correct invalid strncpy use.
2018-10-11 10:04:11 +11:00
Campbell Barton
f5e51ded09
Merge branch 'master' into blender2.8
2018-10-11 09:38:17 +11:00
Campbell Barton
b618c185cb
Fix incorrect strncpy use
...
Didn't ensure null terminated.
2018-10-11 09:36:43 +11:00
Campbell Barton
59e4935266
Fix draw manager out of bounds assignment
2018-10-11 09:29:23 +11:00
Campbell Barton
0f147bf6d6
Remove image based bitmap font support
...
Was used in the game engine and is no longer used.
2018-10-11 09:27:29 +11:00
Campbell Barton
66738d4aa0
Merge branch 'master' into blender2.8
2018-10-11 09:08:30 +11:00
Campbell Barton
2083a7e274
Cleanup: style (pointers)
2018-10-11 09:03:39 +11:00
Campbell Barton
95f2604ea7
Cleanup: indentation
2018-10-11 08:20:35 +11:00
Campbell Barton
060adfbd1b
Correct case
2018-10-11 08:14:04 +11:00
Antonioya
c2519d8521
GP: New Glow Shader FX (wip)
...
New shader to simulate a glow of the color.
The glow can be generated by luminance threshold or using a selection color.
2018-10-10 23:00:56 +02:00
mano-wii
d29f98e3f2
Python GPU: Use PyC_AsArray_FAST in GPUVertBuf.fill_attribute.
...
This allows you to use other types of sequences besides tuples.
2018-10-10 13:39:03 -03:00
mano-wii
5e88d103f7
Python GPU: Use PyC_AsArray_FAST when initing GPUIndexBuff.
...
This allows you to use other types of sequences besides tuples.
2018-10-10 13:39:02 -03:00
Dalai Felinto
1b1702abb0
Fix runtime error: shift of uint
...
The warning was: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
Patch by Clément Foucault.
2018-10-10 13:35:34 -03:00
Dalai Felinto
4149ee9bf6
Revert "Cmake build missing geom icons"
...
This reverts commit 468474a653 .
2018-10-10 16:10:58 +00:00
Brecht Van Lommel
54931324f5
Fix diagonal line artifact in view navigate icons.
...
Thanks to Clément for finding the fix!
2018-10-10 17:47:26 +02:00
Brecht Van Lommel
e65784a051
Python API: add loop triangles access, remove tessfaces.
...
Loop triangles are tessellated triangles create from polygons, for renderers
or exporters that need to match Blender's polygon tesselation exactly. These
are a read-only runtime cache.
Tessfaces are a legacy data structure from before Blender supported n-gons,
and were already mostly removed from the C code.
Details on porting code to loop triangles is in the release notes.
Differential Revision: https://developer.blender.org/D3539
2018-10-10 17:43:44 +02:00
Dalai Felinto
468474a653
Cmake build missing geom icons
...
The icons themselves (their .dat) still need to be updated. But this will make
sure they are part of the pack next time the icons are updated.
2018-10-10 14:56:44 +00:00
Philipp Oeser
1fad887d9e
Fix T57130: Crash when running 'set active object as camera' on an empty
...
Reviewed By: brecht
https://developer.blender.org/D3782
2018-10-10 14:30:44 +02:00
Campbell Barton
84cf670d1d
Modifier: Fix cage option for deform modifiers
...
Show-on-cage and show-in-editmode options now work as it did in 2.7x
(but only for deformation).
2018-10-10 15:53:52 +11:00
Campbell Barton
606ac3eb7f
Fix modifier cage option being overwritten
...
Editmesh modifier calculation behaved as if eModifierMode_OnCage
was enabled for all modifiers.
Remove assignment after all modifiers are calculated.
2018-10-10 15:22:47 +11:00
Campbell Barton
9751d7188e
Cleanup: naming
2018-10-10 15:18:34 +11:00
Campbell Barton
9bb1bd0b5e
Correct bad statvis default in recent commit
2018-10-10 15:11:00 +11:00
Campbell Barton
62020eddec
Cleanup: naming
...
- mesh_calc_modifiers & editbmesh_calc_modifiers
now follow similar naming.
- me and mesh were too easily confused in mesh_calc_modifiers
(remove 'me', access ob->data).
2018-10-10 15:01:46 +11:00
Campbell Barton
58a41df51e
Cleanup: add back add_shapekey_layers to modifier stack
...
Looks like this might not be used, add back just in case.
2018-10-10 14:37:08 +11:00
Campbell Barton
c3c4f8f60a
Cleanup: uncomment statvis calculation (still disabled)
2018-10-10 14:28:31 +11:00
Campbell Barton
c61142c0b5
Modifier: use simplified bmesh -> mesh conversion
2018-10-10 13:14:15 +11:00
Campbell Barton
633e2cddd7
BMesh: simple bmesh -> mesh for evaluation
...
Copied from CDDM_from_bmesh, the modifier stack doesn't
need to handle shape keys, vertex parents or selection history
(needed for mode switching).
2018-10-10 13:14:15 +11:00
mano-wii
7e6a8678c6
RNA: Always keep at least one element in snap_mode.
2018-10-09 22:30:00 -03:00
Campbell Barton
44f478bb1a
Modifier: remove derived-mesh for sculpt crazy-space
2018-10-10 12:01:05 +11:00
Dalai Felinto
8c470e26d2
Fix for VIEW3D_OT_snap_selected_to_active
...
There is no active bone data in the cowed edit armature.
This was introduced on rBe12df10120a0, back when we hoped the depsgraph
would fullfill all our hopes and dreams.
Before the single-context-editing depsgraph reality came crashing on us.
2018-10-09 21:28:06 -03:00
Campbell Barton
626def1ac2
Cleanup: naming
...
lockaxis -> lock_axis
2018-10-10 11:18:09 +11:00
Dalai Felinto
2a2858b30d
Fix for ARMATURE_OT_layers_show_all in pose mode
2018-10-09 20:42:54 -03:00
Campbell Barton
4fa39d9df8
UI: show confirmation for metaball delete
...
Matches other modes.
2018-10-10 10:31:48 +11:00
Dalai Felinto
7cf8eed5e0
Multi-Objects: ARMATURE_OT_layers_show_all
2018-10-09 20:30:29 -03:00
Dalai Felinto
396eba4533
Multi-Objects: ARMATURE_OT_reveal
2018-10-09 19:28:12 -03:00
Dalai Felinto
4c3578b6af
Multi-Objects: ARMATURE_OT_hide
2018-10-09 19:28:12 -03:00