Commit Graph

83803 Commits

Author SHA1 Message Date
Sergey Sharybin
2c21e3e35f Fix T60132: Convert hair particles to mesh
Needed to port operator to use evaluated particle system.

But also changed interface to always show Convert button when
draw type is set to Path (Hair particle system is forced to
be draws as path). This avoid rather expensive lookup on every
redraw, but will show Convert button for un-baked particle
emitter.

Probably, an acceptable compromise.
2019-01-04 14:30:34 +01:00
Dalai Felinto
1753177ad8 Partial fix T60148: EEVEE hangs when anamorphic bokeh is too low
Fixed by setting the limit to the original limit I used for Cycles.
Rendering still goes extremely slow when bokeh is lower than 1.0.

But at least now it is "waitable". With lower numbers than 0.01 I don't
think we would ever get a render to finish.

@fclem feel free to address the real root of the problem, but I'm afraid
it may be a limitation of the algorithm you are using.
2019-01-04 11:27:28 -02:00
Brecht Van Lommel
32ae3abbab Fix T59768: UV context menu showing in image editor. 2019-01-04 13:48:30 +01:00
Dalai Felinto
bdbe484428 EEVEE DoF: Fix runtime error: division by zero when blades was 0
Even though the fragment shader was already discarding all members of
dof_bokeh_sides when blades was zero, the C code was still trying to
use this for a few divisions leading to runtime asserts.

Those are harmless yet can lead some to waste time while pursuiting
other bugs (namely a near freeze when blades aspect ratio is too low).
2019-01-04 10:26:03 -02:00
Dalai Felinto
4d8ed937f2 Fix T60044: Sculpting brush is not visible on file load
The original issue is that wm->paintcursors is empty until we go in and
out of the sculpt mode. To fix this we need to toggle inside the sculpt
mode.

This is usually tackled by ED_editors_init(), however the sculpt mode
toggling was never call because the object technically had "mode data".

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D4153
2019-01-04 09:55:47 -02:00
Sergey Sharybin
7bd31bdcce Cleanup: Spelling 2019-01-04 12:51:10 +01:00
Sergey Sharybin
7a10960947 Provide more information on unknown GPU 2019-01-04 12:50:05 +01:00
Sergey Sharybin
785fc137ce Merge branch 'blender2.7' 2019-01-04 12:42:13 +01:00
Sergey Sharybin
e6acb4fba0 Recognize llvmpipe renderer as software OpenGL 2019-01-04 12:41:35 +01:00
Campbell Barton
538d58745a Object: don't flip scale when setting dimensions 2019-01-04 19:58:18 +11:00
Campbell Barton
1b8c3774a8 Fix T54771: Can't change multiple dimensions at once
- Use non-rna button for adjusting dimensions.
- Make Object.dimensions RNA read-only since it never worked well.
  This is mainly a UI editing feature.
2019-01-04 19:52:13 +11:00
Campbell Barton
c6405f5ee8 Cleanup: unused calculation 2019-01-04 19:08:46 +11:00
Campbell Barton
670b2944f4 Cleanup: indentation (right shift) 2019-01-04 19:08:09 +11:00
Campbell Barton
2bee483013 Merge branch 'blender2.7' 2019-01-04 17:08:34 +11:00
Campbell Barton
3ffce6a130 Fix T60099: Inconsistent normals from spin tool 2019-01-04 17:07:19 +11:00
Campbell Barton
3f0a26137a Spin Tool: don't flip when using a negative angle
The intention was to flip normals when extruding in the opposite
direction, however the sign of the angle isn't meaningful unless
the geometry center and region normal are taken into account.

Disable, may add back in a way that works more predictably.
2019-01-04 17:07:12 +11:00
Campbell Barton
eeff7a2f3c Fix eternal loop in spin tool merge first/last 2019-01-04 17:07:06 +11:00
Campbell Barton
79d3b0b733 Haiku: build fix
D4130 by @miqlas
2019-01-04 17:05:40 +11:00
Campbell Barton
f489db1c6b Haiku: build fix
D4130 by @miqlas
2019-01-04 17:04:07 +11:00
Campbell Barton
c3e454b8e0 Fix T60099: Inconsistent normals from spin tool 2019-01-04 16:23:04 +11:00
Campbell Barton
0fe80121b9 Spin Tool: don't flip when using a negative angle
The intention was to flip normals when extruding in the opposite
direction, however the sign of the angle isn't meaningful unless
the geometry center and region normal are taken into account.

Disable, may add back in a way that works more predictably.
2019-01-04 16:17:49 +11:00
Campbell Barton
a68fef7c35 Fix eternal loop in spin tool merge first/last 2019-01-04 16:14:00 +11:00
Campbell Barton
c97c76c01c Merge branch 'blender2.7' 2019-01-04 11:26:11 +11:00
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