21 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 14 Dec 2018 16:40:27 +0000 (17:40 +0100)]
Merge branch 'master' into blender2.8

21 months agoDependencies builder: Don't rely on system-wide PugiXML
Sergey Sharybin [Fri, 14 Dec 2018 16:39:38 +0000 (17:39 +0100)]
Dependencies builder: Don't rely on system-wide PugiXML

21 months agoFix broken particle distribution after recent fix
Sergey Sharybin [Fri, 14 Dec 2018 16:33:36 +0000 (17:33 +0100)]
Fix broken particle distribution after recent fix

21 months agoFix wrong color in center of HSV circle picker, after recent changes.
Brecht Van Lommel [Fri, 14 Dec 2018 16:29:41 +0000 (17:29 +0100)]
Fix wrong color in center of HSV circle picker, after recent changes.

21 months agoFix T59358: Wrong status bar keymap for release confirms and right click select.
Sebastian Parborg [Fri, 14 Dec 2018 13:54:05 +0000 (14:54 +0100)]
Fix T59358: Wrong status bar keymap for release confirms and right click select.

Differential Revision:

21 months agoFix T59182: Blender 2.8 win64 crashes on start
Clément Foucault [Fri, 14 Dec 2018 15:53:32 +0000 (16:53 +0100)]
Fix T59182: Blender 2.8 win64 crashes on start

21 months agoGP: Rename CTX and OB modes
Antonioya [Fri, 14 Dec 2018 15:45:57 +0000 (16:45 +0100)]
GP: Rename CTX and OB modes

Part of T59335.

21 months agoEdit Curve: Add Normal size in overlay popover and change default range
Clément Foucault [Fri, 14 Dec 2018 15:35:51 +0000 (16:35 +0100)]
Edit Curve: Add Normal size in overlay popover and change default range

Change default range to 0..2 to improve the slider behavior.

21 months agoCurve Batch Cache: Add support for loose edges and curve/surf modifier
Clément Foucault [Fri, 14 Dec 2018 14:23:13 +0000 (15:23 +0100)]
Curve Batch Cache: Add support for loose edges and curve/surf modifier

Fixes T58298 Nurbs circle and curve dont draw in objectmode
Fixes T58107 Modified curves/surfaces/fonts do not show their eval mesh

21 months agoWireframe: Fix wireframe color in edit mode for surfaces
Clément Foucault [Fri, 14 Dec 2018 14:20:28 +0000 (15:20 +0100)]
Wireframe: Fix wireframe color in edit mode for surfaces

21 months agoDRW Batch Cache: Fix hack being a bit too much hacky
Clément Foucault [Fri, 14 Dec 2018 01:54:39 +0000 (02:54 +0100)]
DRW Batch Cache: Fix hack being a bit too much hacky

21 months agoDisplist: Reuse tesselated pos and nor for wireframes
Clément Foucault [Fri, 14 Dec 2018 01:52:50 +0000 (02:52 +0100)]
Displist: Reuse tesselated pos and nor for wireframes

This lower the memory usage and also fix a bug with metaballs normals/tris
winding being reversed.

21 months agoCurve Batch Cache: Add back support for shaded geometry
Clément Foucault [Thu, 13 Dec 2018 23:42:16 +0000 (00:42 +0100)]
Curve Batch Cache: Add back support for shaded geometry

This changes a bit the batches data structure. Instead of using one
vbo per material we use one for all material and use index buffers for
selecting the correct triangles.

This is less optimized than before but has potential to become more
optimized by merging the wireframe data vbo into the shading one.

Also the index buffers are not strictly necessary and could be just
ranges inside the buffer. But this needs more adding things inside

21 months agoGPUBatch: Add GPU_batch_clear to clear batches without freeing
Clément Foucault [Thu, 13 Dec 2018 23:07:59 +0000 (00:07 +0100)]
GPUBatch: Add GPU_batch_clear to clear batches without freeing

21 months agoWireframe: Fix Object Viewport display "all edges" options not working
Clément Foucault [Thu, 13 Dec 2018 02:33:53 +0000 (03:33 +0100)]
Wireframe: Fix Object Viewport display "all edges" options not working

21 months agoCurve Batch Cache: Rework Implementation to use new batch request
Clément Foucault [Thu, 13 Dec 2018 00:26:07 +0000 (01:26 +0100)]
Curve Batch Cache: Rework Implementation to use new batch request

Shaded triangles are not yet implemented (request from gpumaterials).

This also changes the mechanism to draw curve normals to make it not
dependant on normal size display. This way different viewport can
reuse the same batch.

21 months agoDRW: Simplify text edit drawing
Clément Foucault [Wed, 12 Dec 2018 19:42:30 +0000 (20:42 +0100)]
DRW: Simplify text edit drawing

This is to simplify the curve batch cache.

21 months agoGPUBuffers: Fix uninitialized memory use causing undefined conditional jump
Clément Foucault [Wed, 12 Dec 2018 15:53:41 +0000 (16:53 +0100)]
GPUBuffers: Fix uninitialized memory use causing undefined conditional jump

21 months agoFix T59334: Crash initializing crazyspace on object with subsurf and displacement
Sergey Sharybin [Fri, 14 Dec 2018 15:07:29 +0000 (16:07 +0100)]
Fix T59334: Crash initializing crazyspace on object with subsurf and displacement

21 months agoUI: show frame rate in movie clip editor
Jacques Lucke [Fri, 14 Dec 2018 14:34:44 +0000 (15:34 +0100)]
UI: show frame rate in movie clip editor

Feature Request from Hjialti.

21 months agoAttempt to sanitize node tree deletion
Sergey Sharybin [Fri, 14 Dec 2018 14:20:33 +0000 (15:20 +0100)]
Attempt to sanitize node tree deletion

Make it explicit when freeing node tree which is owned by other
ID or when freeing node tree which is outside of a bmain.

21 months agoFix T59220: Deleting object causes blender 2.8 to crash
Sergey Sharybin [Fri, 14 Dec 2018 13:53:29 +0000 (14:53 +0100)]
Fix T59220: Deleting object causes blender 2.8 to crash

The issue was caused by a special code in node tree freeing function
which will free extra fields in the case when tree is not in bmain.
This is how old code was dealing with "nested" trees, but is now
making behavior different from other datablocks. This is exactly
what was confusing copy-on-write logic.

Ideally, ntreeFreeTree() need to behave same as all other datablocks,
ad freeing of data of nested trees should be up to the owner of the
tree (this way it's all explicit and does not depend on check of
some special flag.

21 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 14 Dec 2018 13:50:47 +0000 (14:50 +0100)]
Merge branch 'master' into blender2.8

21 months agoCMake: Fixes for OpenGL library preferences
Sergey Sharybin [Fri, 14 Dec 2018 13:48:05 +0000 (14:48 +0100)]
CMake: Fixes for OpenGL library preferences

Prefer legacy OpenGL library, for the compatibility and portability

Also use proper OpenGL libraries to be linked against, so we can
change preference to GLVND.

21 months agoFix T59365: Blender crashes when I try to open a .blend file.
Bastien Montagne [Fri, 14 Dec 2018 13:44:20 +0000 (14:44 +0100)]
Fix T59365: Blender crashes when I try to open a .blend file.

Broken logic in check for a valid vgroup storage pointer...

21 months agofix relationship line always drawing from the parents origin
Philipp Oeser [Fri, 14 Dec 2018 10:59:22 +0000 (11:59 +0100)]
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:

21 months agoFix T58351: Make Single User crashes
Dalai Felinto [Fri, 14 Dec 2018 11:20:56 +0000 (09:20 -0200)]
Fix T58351: Make Single User crashes

21 months agoNew object API function : BKE_object_eval_reset()
Dalai Felinto [Fri, 14 Dec 2018 10:40:33 +0000 (08:40 -0200)]
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.

21 months agoBuild fixup for previous commit
Dalai Felinto [Fri, 14 Dec 2018 10:38:30 +0000 (08:38 -0200)]
Build fixup for previous commit

Build error introduced on: 285cfef695e18a63eba81a385f9fd82bcbccdabc.

21 months agoFix T58652: Crash editing shape keys weirdness with instances
Sergey Sharybin [Fri, 14 Dec 2018 10:32:07 +0000 (11:32 +0100)]
Fix T58652: Crash editing shape keys weirdness with instances

21 months agoFixing crash with cycles baking with is_cage and no cage
Dalai Felinto [Fri, 14 Dec 2018 10:27:37 +0000 (08:27 -0200)]
Fixing crash with cycles baking with is_cage and no cage

21 months agoTransform: remove incorrect 3D view check
Campbell Barton [Fri, 14 Dec 2018 05:59:26 +0000 (16:59 +1100)]
Transform: remove incorrect 3D view check

21 months agoUI: tweak text editing fields for higher contrast
Campbell Barton [Fri, 14 Dec 2018 04:04:49 +0000 (15:04 +1100)]
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

21 months agoFix T59347: Crash drawing empty image
Campbell Barton [Fri, 14 Dec 2018 03:07:56 +0000 (14:07 +1100)]
Fix T59347: Crash drawing empty image

21 months agoCorrect error in last commit
Campbell Barton [Fri, 14 Dec 2018 02:21:13 +0000 (13:21 +1100)]
Correct error in last commit

21 months agoKeymap: correct keymap names
Campbell Barton [Fri, 14 Dec 2018 01:17:00 +0000 (12:17 +1100)]
Keymap: correct keymap names

Generated names include the current context mode
which is irrelevant for generic 3D view tools.

21 months agoKeymap: only use double-click MMB w/ LMB select
Campbell Barton [Fri, 14 Dec 2018 01:01:27 +0000 (12:01 +1100)]
Keymap: only use double-click MMB w/ LMB select

21 months agoFix mesh select path not updating the gizmo
Campbell Barton [Fri, 14 Dec 2018 00:55:29 +0000 (11:55 +1100)]
Fix mesh select path not updating the gizmo

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 14 Dec 2018 00:39:39 +0000 (11:39 +1100)]
Merge branch 'master' into blender2.8

21 months agoFix selection history clearing when selecting all
Campbell Barton [Fri, 14 Dec 2018 00:38:02 +0000 (11:38 +1100)]
Fix selection history clearing when selecting all

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 14 Dec 2018 00:15:24 +0000 (11:15 +1100)]
Merge branch 'master' into blender2.8

21 months agoMissed last commit
Campbell Barton [Fri, 14 Dec 2018 00:14:57 +0000 (11:14 +1100)]
Missed last commit

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 14 Dec 2018 00:09:42 +0000 (11:09 +1100)]
Merge branch 'master' into blender2.8

21 months agoMissed last commit
Campbell Barton [Fri, 14 Dec 2018 00:01:01 +0000 (11:01 +1100)]
Missed last commit

21 months agoCleanup: naming (mean -> median) see T47811
Campbell Barton [Thu, 13 Dec 2018 23:54:11 +0000 (10:54 +1100)]
Cleanup: naming (mean -> median) see T47811

21 months agoCleanup: naming
Campbell Barton [Thu, 13 Dec 2018 23:30:06 +0000 (10:30 +1100)]
Cleanup: naming

21 months agoFix T59337: Camera visual aids ignore overlay
Campbell Barton [Thu, 13 Dec 2018 23:18:01 +0000 (10:18 +1100)]
Fix T59337: Camera visual aids ignore overlay

21 months agoPreferences: add option for header position
Campbell Barton [Thu, 13 Dec 2018 22:47:10 +0000 (09:47 +1100)]
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).

21 months agoFix compiler error
Campbell Barton [Thu, 13 Dec 2018 22:54:18 +0000 (09:54 +1100)]
Fix compiler error

21 months agoGP: Add Subdivide Smooth option
Antonioya [Thu, 13 Dec 2018 22:30:29 +0000 (23:30 +0100)]
GP: Add Subdivide Smooth option

21 months agoFix T59137: Prefs moves header to bottom
Campbell Barton [Thu, 13 Dec 2018 22:07:22 +0000 (09:07 +1100)]
Fix T59137: Prefs moves header to bottom

Only use a new spaces header alignment when no previous header exists.

21 months agoFix T57724: Opening file browser flips user-prefs header
Campbell Barton [Thu, 13 Dec 2018 21:43:14 +0000 (08:43 +1100)]
Fix T57724: Opening file browser flips user-prefs header

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Dec 2018 21:14:52 +0000 (08:14 +1100)]
Merge branch 'master' into blender2.8

21 months agoFix typo in context docs.
Campbell Barton [Thu, 13 Dec 2018 21:13:55 +0000 (08:13 +1100)]
Fix typo in context docs.

21 months agoUI: show workspace cycling key bindings in menu
Campbell Barton [Thu, 13 Dec 2018 20:55:12 +0000 (07:55 +1100)]
UI: show workspace cycling key bindings in menu

21 months agoGP: New Smooth operator
Antonioya [Thu, 13 Dec 2018 18:49:13 +0000 (19:49 +0100)]
GP: New Smooth operator

Smooth a stroke, in edit mode, similar how mesh operator works with meshes.

21 months agoFix T58014, T58650: issues with hex color and Filmic view transform.
Brecht Van Lommel [Thu, 13 Dec 2018 17:28:41 +0000 (18:28 +0100)]
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.

21 months agoColor management: add OCIO aware utility functions for transform to/from XYZ.
Brecht Van Lommel [Fri, 12 Oct 2018 14:42:34 +0000 (16:42 +0200)]
Color management: add OCIO aware utility functions for transform to/from XYZ.

21 months agoFix T58549, T56741: HSV color picker issues with Filmic view transform.
Brecht Van Lommel [Thu, 13 Dec 2018 14:59:58 +0000 (15:59 +0100)]
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.

21 months agoSpeedup: new OldNewMap implementation for file loading
Jacques Lucke [Thu, 13 Dec 2018 14:29:54 +0000 (15:29 +0100)]
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:

21 months agoMerge remote-tracking branch 'origin/master' into blender2.8
Ray Molenkamp [Thu, 13 Dec 2018 14:01:00 +0000 (07:01 -0700)]
Merge remote-tracking branch 'origin/master' into blender2.8

21 months agodeps: add missing sqlite dll to windows build.
Ray Molenkamp [Thu, 13 Dec 2018 13:59:37 +0000 (06:59 -0700)]
deps: add missing sqlite dll to windows build.

21 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 13 Dec 2018 13:32:32 +0000 (14:32 +0100)]
Merge branch 'master' into blender2.8

21 months agoCycles: Update standalone app to OIIO 2.0
Sergey Sharybin [Thu, 13 Dec 2018 13:31:38 +0000 (14:31 +0100)]
Cycles: Update standalone app to OIIO 2.0

21 months agoRNA: revert recent rename 'updated' -> 'dirty'
Campbell Barton [Thu, 13 Dec 2018 12:15:15 +0000 (23:15 +1100)]
RNA: revert recent rename 'updated' -> 'dirty'

Partially reverts 45fdf41be87f & 6d38d824377c,
added comment why term 'updated' is used in this case.

21 months agoCleanup: macro hygiene, style, doxy comments
Campbell Barton [Thu, 13 Dec 2018 11:56:19 +0000 (22:56 +1100)]
Cleanup: macro hygiene, style, doxy comments

21 months agoBLI_edgehash: assert when edges use the same vert
Campbell Barton [Thu, 13 Dec 2018 11:44:09 +0000 (22:44 +1100)]
BLI_edgehash: assert when edges use the same vert

This was removed on the recent upgrade.

21 months agoGP: Cleanup const variables
Antonioya [Thu, 13 Dec 2018 11:41:29 +0000 (12:41 +0100)]
GP: Cleanup const variables

21 months agoFix error in recent key-item filtering
Campbell Barton [Thu, 13 Dec 2018 11:19:11 +0000 (22:19 +1100)]
Fix error in recent key-item filtering

Grouping flags makes it impossible to exclude only modifiers for eg.

Fixes T59303

21 months agoFix force fields not affecting rigid bodies
Sergej Reich [Thu, 13 Dec 2018 10:54:18 +0000 (11:54 +0100)]
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.

21 months agoSilence warning (const)
Dalai Felinto [Thu, 13 Dec 2018 11:18:02 +0000 (11:18 +0000)]
Silence warning (const)

21 months agoGP: Missing change of texture format in previous commit
Antonioya [Thu, 13 Dec 2018 11:18:44 +0000 (12:18 +0100)]
GP: Missing change of texture format in previous commit

21 months agoFix T59125: Outliner does not show view layer count
Jacques Lucke [Thu, 13 Dec 2018 10:51:50 +0000 (11:51 +0100)]
Fix T59125: Outliner does not show view layer count

Reviewers: brecht

Differential Revision:

21 months agoGP: Create Framebuffer textures only if needed
Antonioya [Thu, 13 Dec 2018 10:51:17 +0000 (11:51 +0100)]
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.

21 months agoGP: Changes textures from DEPTH24_STENCIL8 to DEPTH_COMPONENT24
Antonioya [Thu, 13 Dec 2018 10:17:51 +0000 (11:17 +0100)]
GP: Changes textures from  DEPTH24_STENCIL8 to DEPTH_COMPONENT24

As we are not using stencil info, we don't need this in the texture.

21 months agoBLI: New Edgehash and EdgeSet implementation
Jacques Lucke [Thu, 13 Dec 2018 10:21:31 +0000 (11:21 +0100)]
BLI: New Edgehash and EdgeSet implementation

The new data structure uses open addressing instead of chaining to resolve collisions in the hash table.

This new structure was never slower than the old implementation in my tests. Code that first inserts all edges and then iterates through all edges (e.g. to remove duplicates) benefits the most, because the `EdgeHashIterator` becomes a simple for loop over a continuous array.

Reviewer: campbellbarton

Differential Revision: D4050

21 months agoArmature Edit Mode: improve box/lasso select
Campbell Barton [Thu, 13 Dec 2018 08:05:11 +0000 (19:05 +1100)]
Armature Edit Mode: improve box/lasso select

Mostly rewrite logic which now matches (de)select picking,
share between both operators.

- Support all selection operations (eSelectOp), fixes T59255.

- Add function that selects using 'BONESEL_*' flags & eSelectOp.
  This avoids lasso & box select having to handle selection flushing.

- Fix strange behavior with lasso where selecting a bone in a chain
  would only select the tip (from 2.7x).

21 months agoCleanup: use doxy grouping for view3d select
Campbell Barton [Thu, 13 Dec 2018 02:04:25 +0000 (13:04 +1100)]
Cleanup: use doxy grouping for view3d select

Easier to navigate, avoid mixing up functionality across the file.

21 months agoCleanup: style
Campbell Barton [Thu, 13 Dec 2018 01:30:38 +0000 (12:30 +1100)]
Cleanup: style

21 months agoCleanup: replace ifdef w/ stub
Campbell Barton [Thu, 13 Dec 2018 01:20:42 +0000 (12:20 +1100)]
Cleanup: replace ifdef w/ stub

21 months agoGizmo: multi-object pose-mode gizmo positioning
Campbell Barton [Thu, 13 Dec 2018 00:41:45 +0000 (11:41 +1100)]
Gizmo: multi-object pose-mode gizmo positioning

21 months agoGizmo: use general active center calculation
Campbell Barton [Wed, 12 Dec 2018 23:51:37 +0000 (10:51 +1100)]
Gizmo: use general active center calculation

There are some minor differences in center calculation but I don't think
they're important, if so we can update the code.

- Edit-bone uses head (instead of the middle when both are selected).
- Edit-bone flag for restricting components uses the selection instead
  of the active bone.

21 months agoCleanup: de-duplicate active item center access
Campbell Barton [Wed, 12 Dec 2018 23:37:01 +0000 (10:37 +1100)]
Cleanup: de-duplicate active item center access

21 months agoTemplates: remove redundant directory init
Campbell Barton [Wed, 12 Dec 2018 20:22:22 +0000 (07:22 +1100)]
Templates: remove redundant directory init

This is now handled when versioning all startups.

21 months agoFix building w/o bullet
Campbell Barton [Wed, 12 Dec 2018 19:38:55 +0000 (06:38 +1100)]
Fix building w/o bullet

21 months agoFix T59248: Crash in Grease Pencil Edit mode when adding Annotation
Antonioya [Wed, 12 Dec 2018 18:48:24 +0000 (19:48 +0100)]
Fix T59248: Crash in Grease Pencil Edit mode when adding Annotation

21 months agoFix (unreported) Broken rigidbody requirements when adding objects to a RB collection.
Bastien Montagne [Wed, 12 Dec 2018 16:21:37 +0000 (17:21 +0100)]
Fix (unreported) Broken rigidbody requirements when adding objects to a RB collection.

We have to ensure objects get expected RB data, when they are added to a
RB collection...

21 months agoFix T59208: Error when loading reference/background image in edit mode
Jacques Lucke [Wed, 12 Dec 2018 15:38:54 +0000 (16:38 +0100)]
Fix T59208: Error when loading reference/background image in edit mode

21 months agoFix T59234: Crash when enter in Edit mode
Clément Foucault [Wed, 12 Dec 2018 14:18:32 +0000 (15:18 +0100)]
Fix T59234: Crash when enter in Edit mode

Edit mode triangles does always need to have access to faces for visibility
and select/active flags.

21 months agoMesh Batch Cache: Fix crash when using edit mode normal display.
Clément Foucault [Wed, 12 Dec 2018 13:58:06 +0000 (14:58 +0100)]
Mesh Batch Cache: Fix crash when using edit mode normal display.

21 months agoFix T58450: Skin modifier not working if applied after subsurf
Sergey Sharybin [Wed, 12 Dec 2018 14:06:39 +0000 (15:06 +0100)]
Fix T58450: Skin modifier not working if applied after subsurf

21 months agoFix transform gizmo showing with active element pivot point and no selection.
Brecht Van Lommel [Wed, 12 Dec 2018 13:20:10 +0000 (14:20 +0100)]
Fix transform gizmo showing with active element pivot point and no selection.

It should be possible to use this when the active element is unselected, but
there still needs to be something else selected. Otherwise it is not possible
to deselect all as a way to get the gizmo out of the way.

21 months agoUI: use consistent subdivision modifier name when creating from shortcuts.
Brecht Van Lommel [Wed, 12 Dec 2018 12:04:29 +0000 (13:04 +0100)]
UI: use consistent subdivision modifier name when creating from shortcuts.

21 months agoPoint API doc to proper path.
Bastien Montagne [Wed, 12 Dec 2018 11:29:58 +0000 (12:29 +0100)]
Point API doc to proper path.

We'll have to update that again once we move 2.8 to master...

21 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Wed, 12 Dec 2018 11:04:17 +0000 (12:04 +0100)]
Merge branch 'master' into blender2.8

21 months agoFix T59213: Application menu links to outdated version of Python API.
Bastien Montagne [Wed, 12 Dec 2018 10:55:40 +0000 (11:55 +0100)]
Fix T59213: Application menu links to outdated version of Python API.

Somehow those links were forgotten when we renamed API doc to simpler
names last year...

21 months agoKeymap: event type filter w/ finding keymap items
Campbell Barton [Wed, 12 Dec 2018 10:39:55 +0000 (21:39 +1100)]
Keymap: event type filter w/ finding keymap items

Now its possibly to ask for only keyboard/mouse/ndof events
when finding key map items.

21 months agoFix T59133: Area light size not updating from viewport gizmo.
Bastien Montagne [Wed, 12 Dec 2018 09:43:21 +0000 (10:43 +0100)]
Fix T59133: Area light size not updating from viewport gizmo.

When we are directly affecting DNA, we need to handle update ourself...

21 months agoPyTemplates operator_modal_timer: update to 2.8
Philipp Oeser [Wed, 12 Dec 2018 08:34:34 +0000 (09:34 +0100)]
PyTemplates operator_modal_timer: update to 2.8

use keyword argument

Fixes T59232

21 months agostartup: default file selector to a useful path
Campbell Barton [Wed, 12 Dec 2018 05:51:44 +0000 (16:51 +1100)]
startup: default file selector to a useful path

Was initialized to '/home/', use BKE_appdir_folder_default instead.