2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 20 Sep 2018 22:18:23 +0000 (08:18 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: style, use raw strings
Campbell Barton [Thu, 20 Sep 2018 22:15:46 +0000 (08:15 +1000)]
Cleanup: style, use raw strings

2 years agoCleanup: style
Campbell Barton [Thu, 20 Sep 2018 21:31:29 +0000 (07:31 +1000)]
Cleanup: style

2 years agoPreserve the actively bound framebuffer after using gpu.offscreen
Dalai Felinto [Thu, 20 Sep 2018 21:41:30 +0000 (21:41 +0000)]
Preserve the actively bound framebuffer after using gpu.offscreen

Otherwise we cannot draw anything after drawing in the offscreen buffer

2 years agoGP: Change lock axis property text
Antonioya [Thu, 20 Sep 2018 20:51:56 +0000 (22:51 +0200)]
GP: Change lock axis property text

2 years agoGP: Rename origin to stroke placement
Antonioya [Thu, 20 Sep 2018 20:51:34 +0000 (22:51 +0200)]
GP: Rename origin to stroke placement

2 years agoGPU Python API: shader.uniform_float
Dalai Felinto [Thu, 20 Sep 2018 19:51:02 +0000 (19:51 +0000)]
GPU Python API: shader.uniform_float

The existing alternative is to use a buffer and call
uniform_vector_float which is overkill for such a simple operation.

2 years agoTypo on pydoc for uniform_int
Dalai Felinto [Thu, 20 Sep 2018 19:49:08 +0000 (19:49 +0000)]
Typo on pydoc for uniform_int

2 years agogpu.batch module: keep shader reference in batch.
mano-wii [Thu, 20 Sep 2018 19:38:43 +0000 (16:38 -0300)]
gpu.batch module: keep shader reference in batch.

2 years agogpu.shader module: Do not free builtin shaders.
mano-wii [Thu, 20 Sep 2018 18:21:59 +0000 (15:21 -0300)]
gpu.shader module: Do not free builtin shaders.

2 years agoTexture Paint: unify missing data and slots panels, better auto position nodes.
Sebastian Parborg [Thu, 20 Sep 2018 17:53:16 +0000 (19:53 +0200)]
Texture Paint: unify missing data and slots panels, better auto position nodes.

Differential Revision:

2 years agoFix missing Eevee volume panel in material tab.
Brecht Van Lommel [Thu, 20 Sep 2018 17:26:41 +0000 (19:26 +0200)]
Fix missing Eevee volume panel in material tab.

2 years agoUI: add support for defining any icon as a mono icon.
Brecht Van Lommel [Thu, 20 Sep 2018 16:07:58 +0000 (18:07 +0200)]
UI: add support for defining any icon as a mono icon.

Previously it was hardcoded to one row. These icons are colored with the
text color. Changes include some refactoring.

2 years agoUI: default to single icon column toolbar in new 3D views.
Brecht Van Lommel [Thu, 20 Sep 2018 09:10:26 +0000 (11:10 +0200)]
UI: default to single icon column toolbar in new 3D views.

2 years agogpu.shader.builtin module: Add GPU_SHADER_2D_IMAGE.
mano-wii [Thu, 20 Sep 2018 16:55:43 +0000 (13:55 -0300)]
gpu.shader.builtin module: Add GPU_SHADER_2D_IMAGE.

2 years agoGP: Cleanup unused code
Antonioya [Thu, 20 Sep 2018 16:52:57 +0000 (18:52 +0200)]
GP: Cleanup unused code

2 years agoGP: Move origin selector to center and convert to popup
Antonioya [Thu, 20 Sep 2018 16:50:07 +0000 (18:50 +0200)]
GP: Move origin selector to center and convert to popup

2 years agoGP: Add new popover with layers panel
Antonioya [Thu, 20 Sep 2018 15:54:11 +0000 (17:54 +0200)]
GP: Add new popover with layers panel

2 years agoGPUCodegen: Remove unnecessary GLEW_VERSION_3_0 checks
Clément Foucault [Thu, 20 Sep 2018 15:43:11 +0000 (17:43 +0200)]
GPUCodegen: Remove unnecessary GLEW_VERSION_3_0 checks

2 years agoEevee: Implement Wireframe Node
Clément Foucault [Thu, 20 Sep 2018 15:41:07 +0000 (17:41 +0200)]
Eevee: Implement Wireframe Node

This implementation is a bit hacky but match cycles pretty close.

If pixel size is not enabled, it will use the geom shader to
compute distances between vertices. This will have a cost.

Implementation is a bit hacky in gpu_codegen to make the geom shader works
in an optional manner.

2 years agoFix compilation error in the stick bones shader for some Intel gpus.
mano-wii [Thu, 20 Sep 2018 15:11:23 +0000 (12:11 -0300)]
Fix compilation error in the stick bones shader for some Intel gpus.

2 years agoFix build for MSVC: Remove trailing double semicolon
Dalai Felinto [Thu, 20 Sep 2018 14:47:10 +0000 (14:47 +0000)]
Fix build for MSVC: Remove trailing double semicolon

Not sure why but MSVC is complaining for some of those.

In particular for the struct in BKE_subdiv_ccg.h. Those were the ones
crashing here..

2 years agoMultires: Cleanup, more proper variable name
Sergey Sharybin [Thu, 20 Sep 2018 14:35:50 +0000 (16:35 +0200)]
Multires: Cleanup, more proper variable name

2 years agoSculpt: Fix undo not working for multires
Sergey Sharybin [Thu, 20 Sep 2018 13:19:44 +0000 (15:19 +0200)]
Sculpt: Fix undo not working for multires

2 years agoSubdiv: CCG, implement averaging along edges and corners
Sergey Sharybin [Thu, 20 Sep 2018 12:30:16 +0000 (14:30 +0200)]
Subdiv: CCG, implement averaging along edges and corners

Makes it so smooth brush works properly, without causing grids
to become disconnected from each other.

This need to optimize the code for brush, to only average edges
and vertices which are adjacent to modified faces.

2 years agoSubdiv: CCG, store vertex adjacency information
Sergey Sharybin [Thu, 20 Sep 2018 12:01:35 +0000 (14:01 +0200)]
Subdiv: CCG, store vertex adjacency information

Similar to previous commit, but for vertices.

2 years agoSubdiv: CCG, store edge adjacency information
Sergey Sharybin [Thu, 20 Sep 2018 10:37:24 +0000 (12:37 +0200)]
Subdiv: CCG, store edge adjacency information

This information is stored for each non-loose edge.

For each of such edge we store:

- List of CCG faces it is adjacent to.

  This way we can easily check whether it is adjacent to
  any face which is tagged for update or so.

- List of boundary elements from adjacent grids.

  This allows to traverse along the edge and average all
  adjacent grids.

2 years agoOpenSubdiv: Add extra base level queries to topology refiner
Sergey Sharybin [Thu, 20 Sep 2018 09:45:22 +0000 (11:45 +0200)]
OpenSubdiv: Add extra base level queries to topology refiner

2 years agoSubdiv: CCG, fix memory leak
Sergey Sharybin [Thu, 20 Sep 2018 09:23:01 +0000 (11:23 +0200)]
Subdiv: CCG, fix memory leak

Forgot to free memory used by grid to face mapping array.

2 years agoSubdiv: CCG, fix crash going from sculpt to edit mode
Sergey Sharybin [Thu, 20 Sep 2018 09:21:45 +0000 (11:21 +0200)]
Subdiv: CCG, fix crash going from sculpt to edit mode

Was happening for "new" objects, which did not have MDisps
allocated yet.

2 years agoSubdiv: CCG, localize Mesh usage even more
Sergey Sharybin [Thu, 20 Sep 2018 08:27:07 +0000 (10:27 +0200)]
Subdiv: CCG, localize Mesh usage even more

2 years agoSubdiv: CCG, go away from Mesh
Sergey Sharybin [Thu, 20 Sep 2018 08:16:50 +0000 (10:16 +0200)]
Subdiv: CCG, go away from Mesh

Use topology refiner where possible, which will make code more
portable and less dependent on all the possibly outdated pointers.

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 20 Sep 2018 13:39:20 +0000 (15:39 +0200)]
Merge branch 'master' into blender2.8

2 years agoSculpt: Fix memory leak in undo system
Sergey Sharybin [Thu, 20 Sep 2018 13:38:15 +0000 (15:38 +0200)]
Sculpt: Fix memory leak in undo system

Was not freeing undo nodes themselves.

2 years agoGP: Remove Copy & Paste buttons
Antonioya [Thu, 20 Sep 2018 11:50:37 +0000 (13:50 +0200)]
GP: Remove Copy & Paste buttons

2 years agoGP: Fix problem with mode opening 2D Animation template
Antonioya [Thu, 20 Sep 2018 11:47:59 +0000 (13:47 +0200)]
GP: Fix problem with mode opening 2D Animation template

The grease pencil does not need a toggle of mode.

This fix also the problem when open grease pencil files that did not keep the mode saved.

2 years agoGP: Fix falloff curve using 2D animation template
Antonioya [Thu, 20 Sep 2018 11:10:56 +0000 (13:10 +0200)]
GP: Fix falloff curve using 2D animation template

2 years agoGP: Fix template name typo error
Antonioya [Thu, 20 Sep 2018 11:04:56 +0000 (13:04 +0200)]
GP: Fix template name typo error

2 years agoGP: Fix Alt+S problem with multiframe edition
Antonioya [Thu, 20 Sep 2018 10:54:04 +0000 (12:54 +0200)]
GP: Fix Alt+S problem with multiframe edition

The stroke must not be recalc, because the number of points does not change,so the triangulation of fill is the same.

2 years agoCleanup: move DerivedMesh wrappers for modifiers further down the hierarchy
Jacques Lucke [Thu, 20 Sep 2018 10:04:17 +0000 (12:04 +0200)]
Cleanup: move DerivedMesh wrappers for modifiers further down the hierarchy

The main goal of this patch is to cleanup the interface of every modifier. More specifically the interface of modifiers should be DerivedMesh-free.
Internally some modifiers still use DerivedMesh. However I think it is better when the wrappers are in the modifiers so that higher level functions can use the simplified interface.

This patch removes the applyModifier_DM and applyModifierEM_DM functions. In a previous patch (rB3614d9d) the other functions that used DerivedMesh have been removed.

Reviewers: brecht

2 years agoGP: Add keymap 1 and 2 for select mode
Antonioya [Thu, 20 Sep 2018 09:56:41 +0000 (11:56 +0200)]
GP: Add keymap 1 and 2 for select mode

2 years agoGP: New select mode
Antonioya [Thu, 20 Sep 2018 09:32:59 +0000 (11:32 +0200)]
GP: New select mode

Now it's possible select points or strokes

2 years agoPut the Radius property of Curve points under shape key control.
Alexander Gavrilov [Wed, 5 Sep 2018 13:17:59 +0000 (16:17 +0300)]
Put the Radius property of Curve points under shape key control.

Since shape keys are stored as raw floating point data, this
unfortunately requires changes to all code that works with it.

An additional complication is that bezier and nurbs control
points have different entry size, and can be mixed in the same
object (and hence shape key buffer).

Shape key entries are changed from:

  bezier: float v1[3], v2[3], v3[3], tilt, pad, pad;
  nurbs:  float vec[3], tilt;


  bezier: float v1[3], v2[3], v3[3], tilt, radius, pad;
  nurbs:  float vec[3], tilt, radius, pad;

The official shape key element size is changed to 3 floats,
with 4 elements for  bezier nodes, and 2 for nurbs. This also
means that the element count is not equal to the vertex count

While searching for all curve Shape Key code, I also found that
BKE_curve_transform_ex and BKE_curve_translate were broken. This
can be seen by trying to change the Origin of a Curve with keys.

Reviewers: campbellbarton, sergey

Differential Revision:

2 years agoGizmo: hide redo gizmo when any operator runs
Campbell Barton [Thu, 20 Sep 2018 05:41:18 +0000 (15:41 +1000)]
Gizmo: hide redo gizmo when any operator runs

2 years agoMissing from last commit
Campbell Barton [Thu, 20 Sep 2018 04:56:36 +0000 (14:56 +1000)]
Missing from last commit

2 years agoPyAPI: correct term for class property warning
Campbell Barton [Thu, 20 Sep 2018 04:55:07 +0000 (14:55 +1000)]
PyAPI: correct term for class property warning

2 years agoCleanup: use win_to_3d_on_plane function
Campbell Barton [Thu, 20 Sep 2018 02:53:39 +0000 (12:53 +1000)]
Cleanup: use win_to_3d_on_plane function

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 20 Sep 2018 02:46:04 +0000 (12:46 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: use win_to_3d_on_plane for curve drawing
Campbell Barton [Thu, 20 Sep 2018 02:45:07 +0000 (12:45 +1000)]
Cleanup: use win_to_3d_on_plane for curve drawing

2 years ago3D View: add clip argument to win_to_3d_on_plane
Campbell Barton [Thu, 20 Sep 2018 02:42:00 +0000 (12:42 +1000)]
3D View: add clip argument to win_to_3d_on_plane

2 years agoGizmo: use simple unclipped win_to_ray function
Campbell Barton [Thu, 20 Sep 2018 02:13:11 +0000 (12:13 +1000)]
Gizmo: use simple unclipped win_to_ray function

When projecting the cursor onto a plane, clipping isn't important.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 20 Sep 2018 02:06:53 +0000 (12:06 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: renaming missed from merge
Campbell Barton [Thu, 20 Sep 2018 02:04:18 +0000 (12:04 +1000)]
Cleanup: renaming missed from merge

2 years ago3D View: add a simple un-clipped win_to_ray
Campbell Barton [Thu, 20 Sep 2018 02:00:02 +0000 (12:00 +1000)]
3D View: add a simple un-clipped win_to_ray

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 20 Sep 2018 01:51:01 +0000 (11:51 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: rename 3D view ray calculation functions
Campbell Barton [Thu, 20 Sep 2018 01:47:17 +0000 (11:47 +1000)]
Cleanup: rename 3D view ray calculation functions

Using near far and optionally clipping planes is
involved and not needed in many cases.

Rename so a simpler version of this function can be added.

2 years agoGizmo: use ED_view3d_win_to_3d_on_plane
Campbell Barton [Thu, 20 Sep 2018 01:38:11 +0000 (11:38 +1000)]
Gizmo: use ED_view3d_win_to_3d_on_plane

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 20 Sep 2018 01:26:31 +0000 (11:26 +1000)]
Merge branch 'master' into blender2.8

2 years ago3D View: point-on-plane from screen location utility
Campbell Barton [Thu, 20 Sep 2018 01:21:34 +0000 (11:21 +1000)]
3D View: point-on-plane from screen location utility

2 years agoFix spin/rotate gizmo not updating view orientation
Campbell Barton [Thu, 20 Sep 2018 00:19:10 +0000 (10:19 +1000)]
Fix spin/rotate gizmo not updating view orientation

Check for navigation didn't refresh when navigation was completed.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 20 Sep 2018 00:11:01 +0000 (10:11 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: style
Campbell Barton [Thu, 20 Sep 2018 00:06:59 +0000 (10:06 +1000)]
Cleanup: style

2 years agoGPUTexture: Fix HDRI being clamped on OSX
Clément Foucault [Wed, 19 Sep 2018 21:59:00 +0000 (23:59 +0200)]
GPUTexture: Fix HDRI being clamped on OSX

Seems like GLEW_ARB_texture_float is not defined in core profile on OSX
even if float textures are part of the 3.3 core spec.

So removing uneeded backup cases.

2 years agoGP: Rename eraser brushes
Antonioya [Wed, 19 Sep 2018 21:24:35 +0000 (23:24 +0200)]
GP: Rename eraser brushes

2 years agoCleanup: style
Campbell Barton [Wed, 19 Sep 2018 21:11:01 +0000 (07:11 +1000)]
Cleanup: style

2 years agoFix T53745: Alembic exported with vertex colors not readable by other software.
Wybren van Keulen [Wed, 19 Sep 2018 08:55:49 +0000 (10:55 +0200)]
Fix T53745: Alembic exported with vertex colors not readable by other software.

Most other software expects to read indexed vertex colors, so write indices
along with the colors as we already do for UVs.

Differential Revision:

2 years agoDRW: Fix crash when new shader requires 0 customdata layers
Clément Foucault [Wed, 19 Sep 2018 18:02:03 +0000 (20:02 +0200)]
DRW: Fix crash when new shader requires 0 customdata layers

It was using last cache->auto_layer_len which led to a buffer overflow.

2 years agoDRW: Only trash UV and tangent data when using BKE_MESH_BATCH_DIRTY_SHADING
Clément Foucault [Wed, 19 Sep 2018 17:36:25 +0000 (19:36 +0200)]
DRW: Only trash UV and tangent data when using BKE_MESH_BATCH_DIRTY_SHADING

This improves the problem encountered when animating materials on static
meshes but does not fix the core issue. See T55326.

2 years agoCleanup: Remove "_new" from GPU_generate_pass_new
Clément Foucault [Wed, 19 Sep 2018 17:34:00 +0000 (19:34 +0200)]
Cleanup: Remove "_new" from GPU_generate_pass_new

Not needed anymore since old one has been deleted.

2 years agoFix T55059: EEVEE UV not available until you go in and out of edit mode
Clément Foucault [Wed, 19 Sep 2018 17:33:08 +0000 (19:33 +0200)]
Fix T55059: EEVEE UV not available until you go in and out of edit mode

This is a dirty hack that should become irrelevant when depsgraph will
support CD masks.

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 19 Sep 2018 16:42:17 +0000 (18:42 +0200)]
Merge branch 'master' into blender2.8

2 years agoCycles: Cleanup, double semicolon
Sergey Sharybin [Wed, 19 Sep 2018 16:41:43 +0000 (18:41 +0200)]
Cycles: Cleanup, double semicolon

2 years agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Wed, 19 Sep 2018 16:19:49 +0000 (18:19 +0200)]
Merge branch 'master' into blender2.8

2 years agoSpelling fixes in comments and descriptions, patch by luzpaz.
Brecht Van Lommel [Wed, 19 Sep 2018 15:48:11 +0000 (17:48 +0200)]
Spelling fixes in comments and descriptions, patch by luzpaz.

Differential Revision:

2 years agomake.bat: fix build error when there are spaces in the path to svn/git/cmake
Ray Molenkamp [Wed, 19 Sep 2018 16:16:46 +0000 (10:16 -0600)]
make.bat: fix build error when there are spaces in the path to svn/git/cmake

2 years agoDepsgraph: Another followup to the previous commit
Sergey Sharybin [Wed, 19 Sep 2018 16:03:15 +0000 (18:03 +0200)]
Depsgraph: Another followup to the previous commit

Apparently, only mesh objects has SHADING component.

2 years agoFix wrong pointer used in modifier stack
Sergey Sharybin [Wed, 19 Sep 2018 15:51:14 +0000 (17:51 +0200)]
Fix wrong pointer used in modifier stack

Was passing pointer to a pointer of context.

2 years agoDepsgraph: Correction for the previous commit
Sergey Sharybin [Wed, 19 Sep 2018 15:49:08 +0000 (17:49 +0200)]
Depsgraph: Correction for the previous commit

2 years agoCleanup: Remove some DerivedMesh wrappers for modifiers
Jacques Lucke [Wed, 19 Sep 2018 14:59:05 +0000 (16:59 +0200)]
Cleanup: Remove some DerivedMesh wrappers for modifiers

Specifically the deformVerts_DM, deformMatrices_DM, deformVertsEM_DM and deformMatricesEM_DM functions are not used anymore.

Reviewer: brecht

2 years agoGP: Verify weight data is correct before assigning
Antonioya [Wed, 19 Sep 2018 15:26:09 +0000 (17:26 +0200)]
GP: Verify weight data is correct before assigning

2 years agoGP: Fix crash when select vertex group in modifiers
Antonioya [Wed, 19 Sep 2018 15:20:39 +0000 (17:20 +0200)]
GP: Fix crash when select vertex group in modifiers

2 years agoDepsgraph: Ensure shading update order
Sergey Sharybin [Wed, 19 Sep 2018 15:14:27 +0000 (17:14 +0200)]
Depsgraph: Ensure shading update order

Previously it was possible to have geometry component to
tag batch for DIRTY_ALL and shading to tag with SHADING_UPDATE.

Now there is a relation between uber eval and shading, which
solves this issue.

2 years agoGP: Fix copy frame error in dopesheet
Antonioya [Wed, 19 Sep 2018 14:46:56 +0000 (16:46 +0200)]
GP: Fix copy frame error in dopesheet

2 years agoDepsgraph: Always assume scene camera is visible
Sergey Sharybin [Wed, 19 Sep 2018 14:43:59 +0000 (16:43 +0200)]
Depsgraph: Always assume scene camera is visible

Allows to disable camera collection to make objects to go out of
the way, but still be able to animate.

2 years agoFix wrong CUDA version warning in cmake.
Brecht Van Lommel [Wed, 19 Sep 2018 14:04:11 +0000 (16:04 +0200)]
Fix wrong CUDA version warning in cmake.

Fix suggested by Dalai.

2 years agoFix T56697: missing viewport update after keyframe edits in animation editors.
Brecht Van Lommel [Wed, 19 Sep 2018 14:17:24 +0000 (16:17 +0200)]
Fix T56697: missing viewport update after keyframe edits in animation editors.

It was updating during transform, but not a final time after keyframes get
reordered or merged.

2 years agoUI: make new icon consistent with other places.
Brecht Van Lommel [Wed, 19 Sep 2018 08:19:45 +0000 (10:19 +0200)]
UI: make new icon consistent with other places.

2 years agoFix own mistake in previous commit.
Bastien Montagne [Wed, 19 Sep 2018 14:09:52 +0000 (16:09 +0200)]
Fix own mistake in previous commit.

2 years agoDepsgraph: Make visible update to operate on per-component level
Sergey Sharybin [Wed, 19 Sep 2018 13:46:03 +0000 (15:46 +0200)]
Depsgraph: Make visible update to operate on per-component level

2 years agoDespgraph: Keep track of per-component visibility
Sergey Sharybin [Wed, 19 Sep 2018 13:21:51 +0000 (15:21 +0200)]
Despgraph: Keep track of per-component visibility

The idea of those flags is to avoid evaluation of operations
which are not needed to bring visible objects to an up to date

Previously, dependency graph attempted to do combine those
into an ID level flag. In practice it proved to be rather
tricky, since there could be dependency cycles on ID level
which will not exist on component level.

2 years agoDepsgraph: Connect duplicating geometry to duplicator
Sergey Sharybin [Wed, 19 Sep 2018 13:09:55 +0000 (15:09 +0200)]
Depsgraph: Connect duplicating geometry to duplicator

This allows to force duplicated object to be fully evaluated for

Previously only transform component of duplicated object was
forced to become evaluated.

2 years agoDepsgraph: Make geoemtry to tag function more reusable
Sergey Sharybin [Wed, 19 Sep 2018 13:06:18 +0000 (15:06 +0200)]
Depsgraph: Make geoemtry to tag function more reusable

2 years agoDepsgraph: Correct early output in collections
Sergey Sharybin [Wed, 19 Sep 2018 10:12:02 +0000 (12:12 +0200)]
Depsgraph: Correct early output in collections

Need to ensure objects from collection which was built but
is became visible in the new "context" are poked for re-built.

This should be rather cheap, since this only will update
their visibility flag.

Can not rely on visibility flush here, since there is no
relations between collection and its objects.

2 years agoDepsgraph: Handle text datablock in ID builder
Sergey Sharybin [Wed, 19 Sep 2018 08:30:41 +0000 (10:30 +0200)]
Depsgraph: Handle text datablock in ID builder

Just silence the assert/print, we do not add text data blocks
to dependency graph.

2 years agoAddon Utils: Green light the uv layout addon
Dalai Felinto [Wed, 19 Sep 2018 13:57:37 +0000 (13:57 +0000)]
Addon Utils: Green light the uv layout addon

2 years agoDepsgraph/RNA: Fix broken 'dupliobject' RNA interface.
Bastien Montagne [Wed, 19 Sep 2018 13:44:10 +0000 (15:44 +0200)]
Depsgraph/RNA: Fix broken 'dupliobject' RNA interface.

Previous code would crash on whole lot of accessors in case current item
was not a real dupli instance.

And code was missing access to crucial dupli (world) matrix! Pretty
useless without that.

Also reordered a bit members in here, let's try to keep a bit of logic...

2 years agoFix possible misuse of `BLI_strncpy`.
mano-wii [Wed, 19 Sep 2018 12:04:55 +0000 (09:04 -0300)]
Fix possible misuse of `BLI_strncpy`.

Same issue as rB39f7c8256d58.

2 years agoGP: Fix stupid mistake
Antonioya [Wed, 19 Sep 2018 10:15:53 +0000 (12:15 +0200)]
GP: Fix stupid mistake

2 years agoGP: Remove unneeded flag
Antonioya [Wed, 19 Sep 2018 10:15:05 +0000 (12:15 +0200)]
GP: Remove unneeded flag

2 years agoFix T56756: Pivot Point update issue(minor issue).
Bastien Montagne [Wed, 19 Sep 2018 09:41:16 +0000 (11:41 +0200)]
Fix T56756: Pivot Point update issue(minor issue).