Commit Graph

75472 Commits

Author SHA1 Message Date
mano-wii
cb42850ef2 Fix assert in snapEditMesh. 2018-07-26 13:48:26 -03:00
Jens Verwiebe
1c41dbb079 Fix compiling after ui cleanups 2018-07-26 14:21:15 +02:00
Campbell Barton
4d83759f6a Cleanup: unused args 2018-07-26 19:52:12 +10:00
Campbell Barton
1f809f34c1 Merge branch 'master' into blender2.8 2018-07-26 18:39:57 +10:00
Campbell Barton
ab67c6e46b WM: replace UI draw callbacks w/ property poll
Custom drawing functions were used just to control property display.
Move to poll function.
2018-07-26 17:35:33 +10:00
Campbell Barton
e91bdb10e9 Merge branch 'master' into blender2.8 2018-07-26 15:51:29 +10:00
Campbell Barton
44370a307c UI: hide transform constraints when not used 2018-07-26 15:44:27 +10:00
Campbell Barton
0dd3b200b0 Cleanup: remove redundant flag
Caller can pass this flag if necessary.
2018-07-26 14:58:36 +10:00
Campbell Barton
9257357c3f Merge branch 'master' into blender2.8 2018-07-26 14:49:52 +10:00
Campbell Barton
629403fb51 WM: remove duplicate ui-list functions
Missed when moving into own file.

Caused issues on MSVC, not GCC.
2018-07-26 14:47:48 +10:00
Campbell Barton
2e12114f3b Merge branch 'master' into blender2.8 2018-07-26 14:45:14 +10:00
Campbell Barton
e6c5490323 UI: hide proportional transform options
Adds property poll function to transform.
2018-07-26 11:53:58 +10:00
Campbell Barton
dbd79c097c WM: Add operator property poll callback
This allows operators to filter out properties from the
auto-generated draw functions.

Some custom draw functions can move to using this.
2018-07-26 11:53:53 +10:00
Campbell Barton
2df27fa6cf Cleanup: Use const argument 2018-07-26 11:20:03 +10:00
Pablo Vazquez
1882dfc47c UI: More opaque type icons in the Outliner
Also always draw the counter of elements-per-type with a dark background
regardless of the active status. It being white when active affects
readability since the icon background itself is already highlighted.

Thanks devtalk forum for feedback.
2018-07-26 02:42:20 +02:00
Bastien Montagne
9c0dea213e Merge branch 'master' into blender2.8
Conflicts:
	source/blender/blenkernel/intern/rigidbody.c
2018-07-25 21:12:04 +02:00
Bastien Montagne
29d1db9ed6 Fix T55964: Direction not normalized in isect_ray_aabb_v3_simple()?
RNA API Object.ray_cast would not normalize direction vector before
doing first quick bbox intersection test, while using its returned
distance value. This could lead to wrong exclusion of object.
Thanks to @codemanx for finding that issue.
2018-07-25 21:05:44 +02:00
Bastien Montagne
5ba4d059c0 Fix (unreported) potential div-by-zero in ray/bbox intersection BLI code.
Also added note that direction parameter should be normalized vector
in case one intend to use returned distance values.
2018-07-25 21:04:28 +02:00
Brecht Van Lommel
9a40690242 Fix for holdout / indirect only with collection instances. 2018-07-25 18:30:26 +02:00
Brecht Van Lommel
885cda65c9 Cycles: add per layer collection indirectly on setting.
In the outliner, right click > view layer > set indirect only. This is
like clearing camera ray visibility on objects in the collection, and is
temporary until we have more general dynamic overrides.
2018-07-25 16:45:46 +02:00
Brecht Van Lommel
b0077992d2 Cycles: add per layer collection mask/holdout support.
In the outliner, right click > view layer > set holdout. This is
temporary until we have more general dynamic overrides, but helps
Spring production for now.
2018-07-25 15:59:54 +02:00
Bastien Montagne
5f1ead6395 Fix T55895: VSE crash while moving a strip
Glitch from multi-edit project. ;)
2018-07-25 14:53:11 +02:00
Pablo Vazquez
f3524fe759 UI: Minor tweaks to nodes
Match roundness with widget defaults and collapse triangle size with panel's.
Interaction is the same, just an aesthetic tweak.
2018-07-25 12:53:15 +02:00
Brecht Van Lommel
509d87230a Fix missing particle use count object names with disabled particles. 2018-07-25 11:51:49 +02:00
Campbell Barton
2e112f5914 Keymap: Use 1..4 to change UV select modes
Support for sync selection switching which keys apply.
2018-07-25 11:02:12 +10:00
Campbell Barton
d8514482fe WM: keymap utility to set enum from a key range 2018-07-25 11:00:03 +10:00
Campbell Barton
bd608d9aff Fix mistake in fix for T55798 2018-07-25 09:23:07 +10:00
Germano
fdd4b03f33 Correction on the last commit. 2018-07-24 19:45:03 -03:00
Germano
4f85982c6f Fix base->flag and base->flag_legacy: The flags of the Transform operator are being added to the bases of the not evaluated view_layer.
But I'm not sure if the flags `BA_WAS_SEL`,` BASE_SELECTED` and `BA_SNAP_FIX_DEPS_FIASCO`(lol XD) should be added to the bases of the not evaluated `view_layer`. This needs to be discussed.
2018-07-24 19:34:49 -03:00
Germano
decb724572 Fix T55798: Crash when snapping objects with data recalculated by modifiers.
Although the default behavior is for these objects to be ignored during the snap operation, this should not crash.
2018-07-24 19:13:28 -03:00
Clément Foucault
a76198cb23 RNA: Remove Unused dof.is_hq_supported and dof.use_high_quality
It's not necessary anymore since we assume it's always high quality.
2018-07-24 18:05:30 +02:00
Clément Foucault
cfaea24117 Fix T55754: DOF with new Camera is not working
Was due to non initialized gpu_dof.ratio
2018-07-24 18:05:30 +02:00
Clément Foucault
c924f6f53f Workbench: Fix missing geometry on Iris 640/630 GPUs
For some reason 32c5972653 broke display of
solid meshes in workbench.

After some investigation, it seems that the vertex coordinate output is
degenerated even if the input is correct and the matrix too.

Removing dead code seems to fix the problem. So maybe the GLSL preprocessor
is not doing what it should?
2018-07-24 16:51:01 +02:00
Brecht Van Lommel
7f7e51161f Fix T56079: crash with startup.blend saved in sculpt/paint modes.
This reverts commit 81a93df6d2, it is not safe
to handle initialization for startup.blend differently. Instead fix the root
issue of the preview icon data structures not being initialized in time.
2018-07-24 12:43:21 +02:00
Brecht Van Lommel
293c15ec0c Fix T56081: crash with make static override and linked collection. 2018-07-24 12:02:24 +02:00
Brecht Van Lommel
882ccd924b Fix T55721: crashes with collections panel in object properties. 2018-07-24 11:38:12 +02:00
Brecht Van Lommel
c4803759a2 Fix T55245: undo with multiple windows and view layers not working correct. 2018-07-24 11:27:05 +02:00
Brecht Van Lommel
9284c051d6 Fix incorrect object visibility test in baking. 2018-07-24 11:27:05 +02:00
Brecht Van Lommel
1b415e4456 Motion paths: default to bone head instead of tail location.
This puts the motion path in the same location as the transform gizmo,
which is less confusing especially if you have a custom bone shape where
the tail is not visible.
2018-07-24 11:27:05 +02:00
Alexander Gavrilov
ec640510a8 Fix T55958: allow the user to select between spring and spring2.
The old springs with damping 1.0 operate in a special way that
is more similar to plastic deformation than a spring. Some users
rely on that, so let the user choose which implementation to use.
This also restores full backward compatibility with 2.79.

Reviewers: sergof

Differential Revision: https://developer.blender.org/D3544
2018-07-24 10:10:48 +03:00
Campbell Barton
4d978cc2e4 Cleanup: changes from 2.8 2018-07-24 13:59:35 +10:00
Sergey Sharybin
b466c09c30 Subsurf: Fix wrong vertices index in vertex data interpolation 2018-07-23 19:14:36 +02:00
Sergey Sharybin
f6eccd367c Subsurf: Subdivide polygons to the same resolution
Previously it was ptex faces which were subdividing to the same
resolution. This was looking like more details for non-quad faces,
but was also causing discontinuity in the edge where quad touches
non-quad polygon.

Now ptex faces which are coming from non-quad faces are subdivided
at a half of resolution, matching old behavior and solving
discontinuity problem.
2018-07-23 19:14:36 +02:00
Clément Foucault
a50e23ba79 Fix compilation issue after merge. 2018-07-23 18:56:24 +02:00
Bastien Montagne
7d6776ba2d Fix missing header include in previous master merge. 2018-07-23 18:37:29 +02:00
Bastien Montagne
adbccae4b4 Merge branch 'master' into blender2.8
Note: Moved doversion of VSE strips uniquename to 2.8 versionning area,
and raised accordingly current file subversion, since that bug also
affected previous 2.8 .blend files...

Conflicts:
	source/blender/blenkernel/BKE_blender_version.h
2018-07-23 17:52:52 +02:00
Clément Foucault
8876e3aae2 Fix assert when loading file with multiple windows opened
... or when loading a file when having more windows opened than the file
itself.
2018-07-23 17:44:34 +02:00
Clément Foucault
87090abb95 Eevee: Remove Colored volumetric option.
This option is not necessary as it uses as much memory as the mono-chromatic
transmistance.
2018-07-23 17:44:34 +02:00
Bastien Montagne
bb98e83b99 Fix T55668: Volume Keyframe on Cut-ted Metastrip.
We actually still had cases of Meta strip duplication resulting in
non-unique strip names. Quiet surprising this went unoticed for so long. :(

Fixed that bug, and think it was last one (at least, no other case of
SEQ_DUPE_UNIQUE_NAME usage should be broken, I think...), and raised
subversion and updated doversion to run uniquename check on strips on
all previous fileversions.

Note: will have to do that again when merging in 2.8...
2018-07-23 17:42:55 +02:00
Brecht Van Lommel
17c3110ae5 Fix large font drawing blurriness in a better way.
GPU_LINEAR is there for shadow font blurring, the real issue was lack of
rounding for the batch offset.
2018-07-23 16:16:39 +02:00