Bastien Montagne
9d4ab3fe58
Fix T59365: Blender crashes when I try to open a .blend file.
...
Broken logic in check for a valid vgroup storage pointer...
2018-12-14 14:44:20 +01:00
Philipp Oeser
c1adf86a2e
fix relationship line always drawing from the parents origin
...
this can be different though (e.g. vertex parenting) and correct location
is already stored in ob->orig
spotted while looking into T59332
Reviewers: fclem, brecht
Differential Revision: https://developer.blender.org/D4076
2018-12-14 13:27:49 +01:00
Dalai Felinto
0e76ff18b5
Fix T58351: Make Single User crashes
2018-12-14 09:20:56 -02:00
Dalai Felinto
dc4c1be1a4
New object API function : BKE_object_eval_reset()
...
This restores the object->data to a non-modifier evaluated state.
So this allow us to change evaluated object modifier stack directly and
get BKE_mesh_new_from_object() for the evalauted object.
2018-12-14 08:45:54 -02:00
Dalai Felinto
10508338d8
Build fixup for previous commit
...
Build error introduced on: 285cfef695 .
2018-12-14 08:39:53 -02:00
Sergey Sharybin
7e6288cfe6
Fix T58652: Crash editing shape keys weirdness with instances
2018-12-14 11:33:18 +01:00
Dalai Felinto
285cfef695
Fixing crash with cycles baking with is_cage and no cage
2018-12-14 08:31:24 -02:00
Campbell Barton
21523b5c86
Transform: remove incorrect 3D view check
2018-12-14 16:59:26 +11:00
Campbell Barton
f4c70a35a2
UI: tweak text editing fields for higher contrast
...
By default the text button background color was a similar brightness
to the cursor, making it hard to see at times.
Button types number/slider/text background brightness when editing
varied quite a lot too.
- Change the background while editing to match the number button.
- Darken the selection for greater contrast.
Resolves T59219
2018-12-14 15:09:32 +11:00
Campbell Barton
9e82499d2d
Fix T59347: Crash drawing empty image
2018-12-14 14:13:59 +11:00
Campbell Barton
fb685c01c3
Correct error in last commit
2018-12-14 13:23:02 +11:00
Campbell Barton
be0c8ed734
Keymap: correct keymap names
...
Generated names include the current context mode
which is irrelevant for generic 3D view tools.
2018-12-14 12:17:00 +11:00
Campbell Barton
82a53481ee
Keymap: only use double-click MMB w/ LMB select
2018-12-14 12:01:27 +11:00
Campbell Barton
f13a4b2f12
Fix mesh select path not updating the gizmo
2018-12-14 11:55:29 +11:00
Campbell Barton
9bac172a79
Merge branch 'master' into blender2.8
2018-12-14 11:39:39 +11:00
Campbell Barton
f0a481eebd
Fix selection history clearing when selecting all
2018-12-14 11:38:02 +11:00
Campbell Barton
0f7c60c576
Merge branch 'master' into blender2.8
2018-12-14 11:15:24 +11:00
Campbell Barton
11a242dea1
Missed last commit
2018-12-14 11:14:57 +11:00
Campbell Barton
dd4c87cd04
Merge branch 'master' into blender2.8
2018-12-14 11:09:42 +11:00
Campbell Barton
aa3c4b4cb6
Missed last commit
2018-12-14 11:06:34 +11:00
Campbell Barton
6e2d9ef2db
Cleanup: naming (mean -> median) see T47811
2018-12-14 10:54:11 +11:00
Campbell Barton
aca13040da
Cleanup: naming
2018-12-14 10:34:12 +11:00
Campbell Barton
948256442b
Fix T59337: Camera visual aids ignore overlay
2018-12-14 10:18:01 +11:00
Campbell Barton
9ea645862c
Preferences: add option for header position
...
Sets the header position for newly created windows with few exceptions
(preferences is always bottom, file-selector is always top).
2018-12-14 09:54:34 +11:00
Campbell Barton
dfa3e0ae81
Fix compiler error
2018-12-14 09:54:34 +11:00
Antonioya
c7a31bad9f
GP: Add Subdivide Smooth option
2018-12-13 23:31:57 +01:00
Campbell Barton
26c8e09cff
Fix T59137: Prefs moves header to bottom
...
Only use a new spaces header alignment when no previous header exists.
2018-12-14 09:09:41 +11:00
Campbell Barton
cb6d018ec9
Fix T57724: Opening file browser flips user-prefs header
2018-12-14 08:43:14 +11:00
Campbell Barton
d6225c9caa
Merge branch 'master' into blender2.8
2018-12-14 08:14:52 +11:00
Campbell Barton
e961c1244c
Fix typo in context docs.
2018-12-14 08:13:55 +11:00
Campbell Barton
cb5d23b544
UI: show workspace cycling key bindings in menu
2018-12-14 07:56:19 +11:00
Antonioya
7d3b1cdd7d
GP: New Smooth operator
...
Smooth a stroke, in edit mode, similar how mesh operator works with meshes.
2018-12-13 19:49:13 +01:00
Brecht Van Lommel
a7b3d58066
Fix T58014, T58650: issues with hex color and Filmic view transform.
...
Hex color values are now always in sRGB space, as would be expected by
most other applications. Previously they were in display space and using
the view transform.
2018-12-13 19:25:47 +01:00
Brecht Van Lommel
f527ce5b2f
Color management: add OCIO aware utility functions for transform to/from XYZ.
2018-12-13 19:25:46 +01:00
Brecht Van Lommel
6601a89650
Fix T58549, T56741: HSV color picker issues with Filmic view transform.
...
In 2d655d3 the color picker was changed to use display space HSV values.
This works ok for a simple sRGB EOTF, but fails with view transforms like
Filmic where display space V 1.0 maps to RGB 16.292.
Instead we now use the color_picking role from the OCIO config when
converting from RGB to HSV in the color picker. This role is set to sRGB
in the default OCIO config.
This color space fits the following requirements:
* It is approximately perceptually linear, so that the HSV numbers and
the HSV cube/circle have an intuitive distribution.
* It has the same gamut as the scene linear color space.
* Color picking values 0..1 map to scene linear values in the 0..1 range,
so that picked albedo values are energy conserving.
2018-12-13 19:25:45 +01:00
Jacques Lucke
33993c056a
Speedup: new OldNewMap implementation for file loading
...
In production files that use a lot of linking I measured loading speedups between 5% and 18%. In files that use less linking the speedup might not be noticeable at all, but it should not be slower.
Reviewer: brecht
Differential Revision: https://developer.blender.org/D4038
2018-12-13 15:31:30 +01:00
Ray Molenkamp
fdab9a8ed1
Merge remote-tracking branch 'origin/master' into blender2.8
2018-12-13 07:01:00 -07:00
Ray Molenkamp
756c99b504
deps: add missing sqlite dll to windows build.
2018-12-13 06:59:37 -07:00
Sergey Sharybin
b8cb08fa56
Merge branch 'master' into blender2.8
2018-12-13 14:32:32 +01:00
Sergey Sharybin
2947882bb1
Cycles: Update standalone app to OIIO 2.0
2018-12-13 14:31:38 +01:00
Campbell Barton
5b6cb2de9a
RNA: revert recent rename 'updated' -> 'dirty'
...
Partially reverts 45fdf41be8 & 6d38d82437 ,
added comment why term 'updated' is used in this case.
2018-12-13 23:19:01 +11:00
Campbell Barton
a3375729f8
Cleanup: macro hygiene, style, doxy comments
2018-12-13 23:04:14 +11:00
Campbell Barton
54fa78a048
BLI_edgehash: assert when edges use the same vert
...
This was removed on the recent upgrade.
2018-12-13 22:46:17 +11:00
Antonioya
a4afbe1153
GP: Cleanup const variables
2018-12-13 12:41:46 +01:00
Campbell Barton
1616c7c538
Fix error in recent key-item filtering
...
Grouping flags makes it impossible to exclude only modifiers for eg.
Fixes T59303
2018-12-13 22:39:15 +11:00
Sergej Reich
5cc015f0ad
Fix force fields not affecting rigid bodies
...
This fixes part of T58991.
Still need to add proper relations so that point cache is marked as outdated
when effectors are modified.
2018-12-13 12:34:35 +01:00
Dalai Felinto
4d395a34dc
Silence warning (const)
2018-12-13 09:18:17 -02:00
Antonioya
0c011fd689
GP: Missing change of texture format in previous commit
2018-12-13 12:19:06 +01:00
Jacques Lucke
ae5f19e32a
Fix T59125: Outliner does not show view layer count
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4060
2018-12-13 11:52:27 +01:00
Antonioya
6c39ea27c8
GP: Create Framebuffer textures only if needed
...
Now, if there aren't grease pencil objects, the textures and framebuffers are not created. This unload GPU Memory when not using GP.
2018-12-13 11:51:41 +01:00