Campbell Barton
66c3eb36d2
Cleanup: use typed unsigned ints
2019-01-04 11:09:18 +11:00
Campbell Barton
53d655a0b3
Cleanup: use typed unsigned ints
2019-01-04 11:06:44 +11:00
Campbell Barton
54a4c1cf35
UI: refactor layout vars out of uiFontStyle
...
Word wrap and alignment layout args only used by UI_fontstyle_draw
were vars in uiFontStyle.
These were written to before drawing, so better pass as an argument.
Pass uiFontStyle & uiWidgetColors as const args.
2019-01-04 11:00:48 +11:00
Campbell Barton
4431c5825b
Missed last commit
2019-01-04 08:37:17 +11:00
Campbell Barton
d068c6017c
3D View: use full opacity by default
...
Vertex paint overlays the color w/ solid mode,
Having a partial overlay makes the sample tool not give useful results.
2019-01-04 08:21:07 +11:00
Sebastian Parborg
5958dd4098
Fix T60101: vertex paint color sample
2019-01-04 08:07:41 +11:00
Brecht Van Lommel
01244036af
Fix T59049: some modal transform keys no working in custom keymaps.
2019-01-03 19:54:52 +01:00
Howard Trickey
aef01c47e6
Fix T58113 Multiple problems with bevel harden normals.
...
Move the bevel hardening code all into bmesh_bevel.c.
Based on user feedback, rewrote the bevel hardening algorithm
to be more what users want.
Based on user feedback, changed the UI, removing some
not-useful options. Now hardening normals while beveling
is enabled by a simple checkbox.
Now setting face strength gives options for which faces
get their face strength set.
2019-01-03 13:39:52 -05:00
Brecht Van Lommel
bdfc10e482
Fix T59349: Cycles viewport render flickering when changing some settings.
2019-01-03 19:21:10 +01:00
Brecht Van Lommel
88e45b8c99
Merge branch 'blender2.7'
2019-01-03 18:32:51 +01:00
Brecht Van Lommel
aa175e0033
Fix for T58250 fix: Blender failing to start with OpenGL context < 4.5.
2019-01-03 18:31:32 +01:00
Brecht Van Lommel
b5372e3e37
Cleanup: don't do nodetree verification/versioning twice.
2019-01-03 18:22:19 +01:00
Brecht Van Lommel
db03be60ec
Fix T60073: can't unlink by dragging from some node input sockets.
2019-01-03 18:21:48 +01:00
Antonioya
a30bdcc142
Fix T60022: Crash when adding grease pencil object to a collection disabled in viewport.
...
See D4163
Thanks to Habib Gahbiche (@zazizizou) for the fix.
2019-01-03 18:12:25 +01:00
Bastien Montagne
4b2198a96a
Fix T59925: Crash when adding any generative modifier on a curve with more than one material.
...
Am not totally convinced that generating meshes without fully valid
material info is a good thing, but this seems to be rather common in our
code base (in both mesh editing and convert-to-mesh cases).
So for now, duplicated code in mesh eval finalization to main displist
creation/eval function, synchronizing mat data at the end of modifiers
stack eval, if needed.
2019-01-03 18:09:39 +01:00
Sergey Sharybin
255ab75eb3
Don't link against GLU library
...
We are core profile now, no need to link against GLU.
This change makes it so Blender binary is not dependent on liGLU.so.
That was a weird thing that Blender was dependent on it, but was not
using any functions from it.
2019-01-03 17:43:07 +01:00
Brecht Van Lommel
fffdedbcc1
Fix T54962: Cycles crash using subsurface scattering texture blur.
2019-01-03 17:10:37 +01:00
Brecht Van Lommel
3c411f5ba1
Fix T58250: crash starting Blender on X11 without OpenGL 3.3.
...
Instead display an error message and exit.
2019-01-03 16:43:09 +01:00
Brecht Van Lommel
407272d158
Fix T60119: incorrect filter size in new scenes.
2019-01-03 15:59:58 +01:00
Sergey Sharybin
8e9c16b0cf
Fix T59072: Text extrusion cannot be animated
2019-01-03 15:48:02 +01:00
Brecht Van Lommel
d98ec04341
Fix incorrect drawing of material list outline, after recent changes.
...
For draw cache flushing the default blend mode needs to be set.
2019-01-03 15:38:22 +01:00
Brecht Van Lommel
481a75a08a
Fix T57177: redo select random operator selects hidden objects.
2019-01-03 15:19:32 +01:00
Brecht Van Lommel
ba1cae5a04
Fix some inconsistencies in object visibility/selectability tests.
2019-01-03 15:19:32 +01:00
Brecht Van Lommel
a2d24345bf
Fix T60107: gizmos should not show for unselectable objects.
2019-01-03 12:39:16 +01:00
Brecht Van Lommel
853a03c555
Fix T58870: submenus don't open for some specific mouse positions.
2019-01-03 12:15:29 +01:00
Brecht Van Lommel
323543ae2e
Fix accidental changes to default preferences in recent startup.blend commit.
2019-01-03 12:15:29 +01:00
Philipp Oeser
65b4ebbbd5
Fix T60056: Make Duplicates Real with Keep Hierarchy does nothing
...
Caused by rB36ca072375deea4803df4681716c1d3224095e07
[one instance of `DEG_get_original_object` was neccesary, the other one
breaks getting the parent in `BLI_ghash_lookup`]
Reviewed by: brecht
Differential Revision: https://developer.blender.org/D4154
2019-01-03 12:12:12 +01:00
Antonioya
310e7eee6f
GP: Include Lasso eraser in Fill and Primitives
...
This option allows to delete sections using Ctrl+Alt.
2019-01-03 11:29:33 +01:00
Antonioya
da8febb319
Fix T59527: Segment fault changing layer visibility and onion skin
...
In some situation when the layer is hidden, the onion skin must be disabled too, because the material is not available.
2019-01-03 10:39:14 +01:00
Campbell Barton
bef06a658a
Cleanup: indentation
2019-01-03 17:30:54 +11:00
Campbell Barton
d2c941def3
DRW: remove INDEX4 normal flipping
...
Added in 531e5ad49a
but I couldn't find a case when it's needed,
It's not needed for solid-mode viewport drawing for eg.
2019-01-03 17:25:21 +11:00
Campbell Barton
052150bbcc
Revert "GPU: add negated normal conversion functions"
...
This reverts commit d28b29d428
.
2019-01-03 17:19:05 +11:00
Campbell Barton
4c7b303256
Fix T59842: Curve flat shading doesn't work
...
Calculate flat shaded normals when creating batch cache.
Note that 2.7x was using vertex normals as flat-face normals.
2019-01-03 16:56:53 +11:00
Campbell Barton
d28b29d428
GPU: add negated normal conversion functions
...
Saves having to negate to a temporary variable.
2019-01-03 16:56:16 +11:00
Campbell Barton
6cb3972063
Cleanup: variable name
2019-01-03 16:02:26 +11:00
Campbell Barton
9200dc0eb1
Cleanup: preprocessor indentation
2019-01-03 15:52:07 +11:00
Campbell Barton
b01f2607a6
Transform: default shrink/fatten even-offset to false
...
Changed for 2.8 but this cases spikes for some geometry, see: T59968
2019-01-03 15:13:46 +11:00
Campbell Barton
487df02198
Fix new material for pinned objects
...
Grease pencil check was using active object.
2019-01-03 12:34:31 +11:00
Campbell Barton
ba9e10fd6a
Merge branch 'blender2.7'
2019-01-03 12:25:37 +11:00
Campbell Barton
847b21ee08
Fix T60014: material link pref ignored
...
The PreferencesEdit.material_link only worked for adding slots,
adding an initial new material didn't respect the preference.
2019-01-03 12:20:08 +11:00
mano-wii
11f2c65128
Fix (unreported): unpredictable crashes when it is done snap after automerge.
...
The `em->tottri` of an evaluated object can be different from the actual amount of looptris.
2019-01-02 16:59:20 -02:00
Brecht Van Lommel
56d6d13b0d
Fix T58859: render with compositor does not render other scenes.
2019-01-02 20:22:16 +01:00
Brecht Van Lommel
7e7657da29
Fix wrong alpha blending for datablock preview icons.
2019-01-02 20:11:10 +01:00
Brecht Van Lommel
017573495e
Merge branch 'blender2.7'
2019-01-02 19:58:26 +01:00
Brecht Van Lommel
f7e9642da9
Fix T60061: Cycles OSL point density not working.
...
Add override keywords so we can detect when the function definitions change.
2019-01-02 19:56:49 +01:00
Brecht Van Lommel
8063d72b08
Fix T60037: single column layout breaks file browse button.
2019-01-02 19:22:56 +01:00
Brecht Van Lommel
26e0dc5d15
Fix T59063: operator search menu loses background in some cases.
2019-01-02 18:56:36 +01:00
Brecht Van Lommel
f8ce4ebf07
Fix wrong grease pencil shader FX usage of object location.
...
It should use the evaluated object location, and not add any unnecessary
dependency on geometry data.
2019-01-02 18:18:11 +01:00
Brecht Van Lommel
f694d37929
Fix T59792: Cycles crash rendering motion pass with motion blur enabled.
2019-01-02 17:47:27 +01:00
Antonioya
0ee97bd5c4
Fix T60051: Wrong stroke projection when viewmode set to Front
...
As the z-depth is calculated using the internal drawing, if we use the front mode the z-depth is wrong. The Front or Back mode must be used only for display, but not for calculation.
2019-01-02 17:43:27 +01:00