blender.git
21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Sep 2018 13:38:53 +0000 (23:38 +1000)]
Merge branch 'master' into blender2.8

21 months agoWM: move mousemove out of internal undo function
Campbell Barton [Thu, 13 Sep 2018 13:20:04 +0000 (23:20 +1000)]
WM: move mousemove out of internal undo function

This causes a feedback loop in 2.8x,
where gizmo redo caused fake mousemove that executed gizmo again.

Move the mousemove into the undo/redo operator.

21 months agoWorkspaces: reference count screens, otherwise they are never freed.
Brecht Van Lommel [Wed, 12 Sep 2018 10:31:31 +0000 (12:31 +0200)]
Workspaces: reference count screens, otherwise they are never freed.

They are not directly accessible in the UI anymore, it's the workspaces
that we always keep until they are manually deleted now.

21 months agoGizmo: avoid redundant value2d updates
Campbell Barton [Thu, 13 Sep 2018 12:25:15 +0000 (22:25 +1000)]
Gizmo: avoid redundant value2d updates

21 months agoGizmo: set header text when editing the value
Campbell Barton [Thu, 13 Sep 2018 12:15:11 +0000 (22:15 +1000)]
Gizmo: set header text when editing the value

21 months agoGP: Sample points in both sides for soft eraser
Antonioya [Thu, 13 Sep 2018 11:55:16 +0000 (13:55 +0200)]
GP: Sample points in both sides for soft eraser

Now the soft eraser use the previous point and not only current and next. This makes the transition smoother.

21 months agoGizmo: value2d cancel, snap & precise support
Campbell Barton [Thu, 13 Sep 2018 12:03:52 +0000 (22:03 +1000)]
Gizmo: value2d cancel, snap & precise support

21 months agoGP: Improve soft eraser rounded caps
Antonioya [Thu, 13 Sep 2018 10:38:50 +0000 (12:38 +0200)]
GP: Improve soft eraser rounded caps

When draw segments the rounded cap must be only visible in some situations.

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Sep 2018 10:15:18 +0000 (20:15 +1000)]
Merge branch 'master' into blender2.8

21 months agoPyAPI: remove operator methods that leak memory
Campbell Barton [Thu, 13 Sep 2018 10:10:56 +0000 (20:10 +1000)]
PyAPI: remove operator methods that leak memory

21 months agoPyAPI: use brief description for operator repr
Campbell Barton [Thu, 13 Sep 2018 09:59:15 +0000 (19:59 +1000)]
PyAPI: use brief description for operator repr

Only include description in docstring.

Also avoid using op_get_rna.

21 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Thu, 13 Sep 2018 09:27:38 +0000 (11:27 +0200)]
Merge branch 'master' into blender2.8

21 months agoPyDoc: add bpy.app.icons to docs
Campbell Barton [Thu, 13 Sep 2018 09:21:08 +0000 (19:21 +1000)]
PyDoc: add bpy.app.icons to docs

21 months agoTentative fix for T56770: Crash after set language to Simplified Chinese.
Bastien Montagne [Thu, 13 Sep 2018 09:20:49 +0000 (11:20 +0200)]
Tentative fix for T56770: Crash after set language to Simplified Chinese.

That bug probably did not affect 2.7x, only 2.8 with COW copying IDs in
threads... But root of the issue is that underlying boost i18n lib does
not support well multi-threaded access. So simply forbid any translation
from non-main thread. This *may* be an annoying limit at some point, but
doubt it will be any issue currently.

21 months agoFix leak in tool tooltip creation
Campbell Barton [Thu, 13 Sep 2018 08:21:16 +0000 (18:21 +1000)]
Fix leak in tool tooltip creation

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Sep 2018 08:19:24 +0000 (18:19 +1000)]
Merge branch 'master' into blender2.8

21 months agoPyAPI: add API call to get an operators type
Campbell Barton [Thu, 13 Sep 2018 08:16:06 +0000 (18:16 +1000)]
PyAPI: add API call to get an operators type

Getting the instance leaks memory and was only meant to be used for
generating docs.

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Sep 2018 07:56:32 +0000 (17:56 +1000)]
Merge branch 'master' into blender2.8

21 months agoCleanup: _bpy.ops utility to lookup an operator
Campbell Barton [Thu, 13 Sep 2018 07:47:56 +0000 (17:47 +1000)]
Cleanup: _bpy.ops utility to lookup an operator

21 months agoPyAPI: add bpy.app.icons to sys.modules
Campbell Barton [Thu, 13 Sep 2018 07:20:27 +0000 (17:20 +1000)]
PyAPI: add bpy.app.icons to sys.modules

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Sep 2018 07:08:58 +0000 (17:08 +1000)]
Merge branch 'master' into blender2.8

21 months agoCleanup: use PyImport_GetModuleDict
Campbell Barton [Thu, 13 Sep 2018 07:06:07 +0000 (17:06 +1000)]
Cleanup: use PyImport_GetModuleDict

Replace direct access using PyThreadState_GET

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Sep 2018 06:35:09 +0000 (16:35 +1000)]
Merge branch 'master' into blender2.8

21 months agoPyDoc: replace use of deprecated API call
Campbell Barton [Thu, 13 Sep 2018 06:33:34 +0000 (16:33 +1000)]
PyDoc: replace use of deprecated API call

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Sep 2018 06:21:56 +0000 (16:21 +1000)]
Merge branch 'master' into blender2.8

21 months agoCleanup: move 'make help_features' into own file
Campbell Barton [Thu, 13 Sep 2018 06:20:02 +0000 (16:20 +1000)]
Cleanup: move 'make help_features' into own file

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 13 Sep 2018 05:39:21 +0000 (15:39 +1000)]
Merge branch 'master' into blender2.8

21 months agoPyDoc: disable ASAN exit code for doc building
Campbell Barton [Thu, 13 Sep 2018 05:37:30 +0000 (15:37 +1000)]
PyDoc: disable ASAN exit code for doc building

Prevented docs from building on any minor issue when ASAN was enabled.

21 months agoGizmo: code comments
Campbell Barton [Thu, 13 Sep 2018 03:35:26 +0000 (13:35 +1000)]
Gizmo: code comments

Note about limits of new tool-init flag.

21 months agoCleanup: whitespace
Campbell Barton [Wed, 12 Sep 2018 23:26:42 +0000 (09:26 +1000)]
Cleanup: whitespace

21 months agoUI: show options for smooth and randomize
Campbell Barton [Wed, 12 Sep 2018 23:23:24 +0000 (09:23 +1000)]
UI: show options for smooth and randomize

21 months agoTool System: make smooth and randomize interactive
Campbell Barton [Wed, 12 Sep 2018 23:19:30 +0000 (09:19 +1000)]
Tool System: make smooth and randomize interactive

21 months agoGizmo: value2d utility to adjust operator values
Campbell Barton [Wed, 12 Sep 2018 23:04:50 +0000 (09:04 +1000)]
Gizmo: value2d utility to adjust operator values

This allows any operator to interactively redo without having to
manually make each operator modal.

21 months agoCleanup: add editor gizmo doxy group
Campbell Barton [Wed, 12 Sep 2018 22:33:21 +0000 (08:33 +1000)]
Cleanup: add editor gizmo doxy group

21 months agoCleanup: use float name in property range function
Campbell Barton [Wed, 12 Sep 2018 22:17:16 +0000 (08:17 +1000)]
Cleanup: use float name in property range function

21 months agoCleanup: move cycles addon check out of versioning
Campbell Barton [Wed, 12 Sep 2018 21:56:58 +0000 (07:56 +1000)]
Cleanup: move cycles addon check out of versioning

21 months agoCleanup: style
Campbell Barton [Wed, 12 Sep 2018 21:51:59 +0000 (07:51 +1000)]
Cleanup: style

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 12 Sep 2018 21:49:55 +0000 (07:49 +1000)]
Merge branch 'master' into blender2.8

21 months agoCleanup: GCC ignored qualifier warning
Campbell Barton [Wed, 12 Sep 2018 21:39:22 +0000 (07:39 +1000)]
Cleanup: GCC ignored qualifier warning

21 months agoGP: Delete invisible points when use soft eraser
Antonioya [Wed, 12 Sep 2018 19:16:54 +0000 (21:16 +0200)]
GP: Delete invisible points when use soft eraser

21 months agoShader Editor: tweak when the UI for managing the material is enabled
Ines Almeida [Wed, 12 Sep 2018 17:26:28 +0000 (19:26 +0200)]
Shader Editor: tweak when the UI for managing the material is enabled

- disable the UI if the currently selected object does not support materials.
- add Metaballs and GPencil as types supporting material.

21 months agoFix T56662: Autocomplete for texture slot Crash (in console).
Bastien Montagne [Wed, 12 Sep 2018 16:31:14 +0000 (18:31 +0200)]
Fix T56662: Autocomplete for texture slot Crash (in console).

That pointer can be NULL, RNA default string handling does not support
that. (that whole uv_layer prop is quite nasty actually, since it does
not own that string, always borrows it from some other data :((( ).

21 months agoFix T56763: Removing driver variable crashes Blender.
Bastien Montagne [Wed, 12 Sep 2018 15:40:48 +0000 (17:40 +0200)]
Fix T56763: Removing driver variable crashes Blender.

Rebuilding depsgraph is not enough, with COW we also need to ensure COW
copies get updated accordingly.

Had to tweak the generic update system here, since it was always passed
a NULL pointer for the callback arg, this should not change existing
behavior (besides crash fixing ;) )...

21 months agoGP: Reduce factor of thickness for soft eraser
Antonioya [Wed, 12 Sep 2018 15:06:37 +0000 (17:06 +0200)]
GP: Reduce factor of thickness for soft eraser

21 months agoGP: Improve SOFT eraser to affect strength and less to thickness
Antonioya [Wed, 12 Sep 2018 14:55:13 +0000 (16:55 +0200)]
GP: Improve SOFT eraser to affect strength and less to thickness

21 months agoCleanup: Spelling mistakes
Sergey Sharybin [Wed, 12 Sep 2018 14:32:18 +0000 (16:32 +0200)]
Cleanup: Spelling mistakes

Pointed by John Roper and Ray Molenkamp.

21 months agoMultires: Use more clear naming
Sergey Sharybin [Wed, 12 Sep 2018 14:30:33 +0000 (16:30 +0200)]
Multires: Use more clear naming

There are so many reshapes now, and one more is to come.
Better be explicit.

21 months agoGP: Fix pressure jitter problem
Antonioya [Wed, 12 Sep 2018 13:32:22 +0000 (15:32 +0200)]
GP: Fix pressure jitter problem

The pressure was not used in jitter factor.

21 months agoGP: Hide panels for eraser brushes
Antonioya [Wed, 12 Sep 2018 13:18:05 +0000 (15:18 +0200)]
GP: Hide panels for eraser brushes

21 months agoGP: Remove brush type from panel
Antonioya [Wed, 12 Sep 2018 13:10:05 +0000 (15:10 +0200)]
GP: Remove brush type from panel

The brush type is get from previous brush

21 months agoFIx T56758: Outliner - Select Hierarchy not working.
Bastien Montagne [Wed, 12 Sep 2018 13:02:45 +0000 (15:02 +0200)]
FIx T56758: Outliner - Select Hierarchy not working.

Reversed logical check on object's visibility...

21 months agoFix T56759: Status bar not working for multi-objects nor object mode
Dalai Felinto [Wed, 12 Sep 2018 12:44:43 +0000 (09:44 -0300)]
Fix T56759: Status bar not working for multi-objects nor object mode

21 months agoCleanup, fullstops in comments
Sergey Sharybin [Wed, 12 Sep 2018 12:39:08 +0000 (14:39 +0200)]
Cleanup, fullstops in comments

21 months agoGPU: Remove residue of OpenSubdiv
Sergey Sharybin [Wed, 12 Sep 2018 12:30:28 +0000 (14:30 +0200)]
GPU: Remove residue of OpenSubdiv

Was done more like a hack on top of old drawing pipeline.
Should be re-implemented to fit new draw manager closer.

21 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 12 Sep 2018 10:29:19 +0000 (12:29 +0200)]
Merge branch 'master' into blender2.8

21 months agoCycles: Don't allocate Extra if BSDF allocation failed
Sergey Sharybin [Wed, 12 Sep 2018 10:21:04 +0000 (12:21 +0200)]
Cycles: Don't allocate Extra if BSDF allocation failed

Failed as in did not allocate due to possibly weight cutoff.
Tryign to allocated Extra storage for closure in such situation
will consfuse Cycles and cause crashes later one due to obscure
values in ShaderData.

21 months agoFix T56766: Bake Action Visual Keying Not Working.
Bastien Montagne [Wed, 12 Sep 2018 09:50:35 +0000 (11:50 +0200)]
Fix T56766: Bake Action Visual Keying Not Working.

Consequences of new requirement to use named keywords parameters for our
RNA API... Hopefully fixed all other cases in that file as well, but
guess we'll find more of those in comming weeks. :|

21 months agoCleanup: move theme versioning into own function
Campbell Barton [Wed, 12 Sep 2018 09:58:37 +0000 (19:58 +1000)]
Cleanup: move theme versioning into own function

21 months agoGP: Cleanup unused code
Antonioya [Wed, 12 Sep 2018 09:43:12 +0000 (11:43 +0200)]
GP: Cleanup unused code

21 months agoCleanup: redundant assignment is later overwritten
Campbell Barton [Wed, 12 Sep 2018 09:51:59 +0000 (19:51 +1000)]
Cleanup: redundant assignment is later overwritten

21 months agoRemove ifdef's default audio device
Campbell Barton [Wed, 12 Sep 2018 09:45:43 +0000 (19:45 +1000)]
Remove ifdef's default audio device

If we want to select an audio device based on build flags,
it should be done as a final step.

21 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 12 Sep 2018 09:30:35 +0000 (11:30 +0200)]
Merge branch 'master' into blender2.8

21 months agoFix Cycles issue moving versioning to blenloader
Campbell Barton [Wed, 12 Sep 2018 09:32:54 +0000 (19:32 +1000)]
Fix Cycles issue moving versioning to blenloader

21 months agoCleanup: More correct terminology work
Sergey Sharybin [Wed, 12 Sep 2018 09:00:38 +0000 (11:00 +0200)]
Cleanup: More correct terminology work

Matches threading API.

21 months agoGP: Fix problem with brush angle parameter
Antonioya [Wed, 12 Sep 2018 08:36:12 +0000 (10:36 +0200)]
GP: Fix problem with brush angle parameter

The angle was related to random settings, but this is wrong.

21 months agoCMake: Fix compilation with Bullet enabled
Sergey Sharybin [Wed, 12 Sep 2018 08:34:53 +0000 (10:34 +0200)]
CMake: Fix compilation with Bullet enabled

Obvious bug in recent CName cleanup commit, while BGE library
was indeed mentioned on that line it was to put Bullet libraries
after all the other libraries.

One day we should really switch to a CMake dependency graph to
take care of library dependencies.

21 months agoGP: Change UI panel parameter smooth order
Antonioya [Wed, 12 Sep 2018 08:16:52 +0000 (10:16 +0200)]
GP: Change UI panel parameter smooth order

21 months agoCleanup: move preference versioning into own file
Campbell Barton [Wed, 12 Sep 2018 08:22:00 +0000 (18:22 +1000)]
Cleanup: move preference versioning into own file

It's more convenient to keep version patching in the same place,
this also splits out some function calls from version patching
and supports updating UserDef structs besides the 'U'l global.

21 months agoCleanup: remove BGE references
Campbell Barton [Wed, 12 Sep 2018 07:29:13 +0000 (17:29 +1000)]
Cleanup: remove BGE references

21 months agoCleanup: make shapekey functions local
Campbell Barton [Wed, 12 Sep 2018 07:27:22 +0000 (17:27 +1000)]
Cleanup: make shapekey functions local

Were only exposed for the BGE.

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 12 Sep 2018 06:28:50 +0000 (16:28 +1000)]
Merge branch 'master' into blender2.8

21 months agoCMake: add openjpeg 2x search paths
Campbell Barton [Wed, 12 Sep 2018 06:26:15 +0000 (16:26 +1000)]
CMake: add openjpeg 2x search paths

Wasn't finding the include path by on Linux.

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 12 Sep 2018 06:21:00 +0000 (16:21 +1000)]
Merge branch 'master' into blender2.8

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 12 Sep 2018 05:54:07 +0000 (15:54 +1000)]
Merge branch 'master' into blender2.8

21 months agoCleanup: remove alpha_check variable from DNA
Campbell Barton [Wed, 12 Sep 2018 05:48:00 +0000 (15:48 +1000)]
Cleanup: remove alpha_check variable from DNA

Just pass as an argument.

21 months agoCleanup: use uint/uchar types in GPU
Campbell Barton [Wed, 12 Sep 2018 02:18:35 +0000 (12:18 +1000)]
Cleanup: use uint/uchar types in GPU

21 months agoCleanup: use _len suffix
Campbell Barton [Wed, 12 Sep 2018 02:07:35 +0000 (12:07 +1000)]
Cleanup: use _len suffix

21 months agoFix scale-cage editmode pivot point
Campbell Barton [Tue, 11 Sep 2018 21:27:17 +0000 (07:27 +1000)]
Fix scale-cage editmode pivot point

21 months agoFix scale-cage refresh w/ view orientation
Campbell Barton [Tue, 11 Sep 2018 21:19:37 +0000 (07:19 +1000)]
Fix scale-cage refresh w/ view orientation

21 months agoTool System: show bisect tool options
Campbell Barton [Tue, 11 Sep 2018 20:24:15 +0000 (06:24 +1000)]
Tool System: show bisect tool options

21 months agoFix T56752: Tooltip flicker alpha on redraw
Clément Foucault [Tue, 11 Sep 2018 20:11:05 +0000 (22:11 +0200)]
Fix T56752: Tooltip flicker alpha on redraw

21 months agoCleanup: style
Campbell Barton [Tue, 11 Sep 2018 19:57:18 +0000 (05:57 +1000)]
Cleanup: style

21 months agoMultires: Fix memory leak on reshape
Sergey Sharybin [Tue, 11 Sep 2018 15:36:39 +0000 (17:36 +0200)]
Multires: Fix memory leak on reshape

Was happening when number of vertices didn't match.

21 months agoDRW: Convert common theme color to linear for viewport render
Clément Foucault [Tue, 11 Sep 2018 15:05:07 +0000 (17:05 +0200)]
DRW: Convert common theme color to linear for viewport render

This is not 100% correct (it should use a transfer function depending
on the display profile) but this is already much better than using srgb.

21 months agoSubdiv: Initial implementation of CCG
Sergey Sharybin [Thu, 6 Sep 2018 15:06:17 +0000 (17:06 +0200)]
Subdiv: Initial implementation of CCG

Attempts to substitude CCGDM with an OpenSubdiv based structure
which has less abstraction levels. The missing part in this
substitude is a face pointers which old CCGDM/multires code was
using to stitch faces (averaging boundaries).

Another curial bit missing: "reshaping" of multires CD_MDISPS
to the state of new PBVH grids.

The new code is only available when OpenSubdiv modifier is
enabled (WITH_OPENSUBDIV_MODIFIER=ON) and with debug value of
128. This is so this WIP code is not interfering with current
production machines in the studio.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D3685

21 months agoDRW: Don't highjack all debug values (cont)
Clément Foucault [Tue, 11 Sep 2018 14:34:52 +0000 (16:34 +0200)]
DRW: Don't highjack all debug values (cont)

21 months agoDRW: Don't highjack all debug values
Clément Foucault [Tue, 11 Sep 2018 14:27:49 +0000 (16:27 +0200)]
DRW: Don't highjack all debug values

21 months agoFix workspace order and shortcut keys not matching.
Brecht Van Lommel [Tue, 11 Sep 2018 14:20:29 +0000 (16:20 +0200)]
Fix workspace order and shortcut keys not matching.

21 months agoEevee: Prepare for fullres tracing
Clément Foucault [Tue, 11 Sep 2018 14:15:34 +0000 (16:15 +0200)]
Eevee: Prepare for fullres tracing

21 months agoEevee: Fix downsampling shader with textureGather
Clément Foucault [Tue, 11 Sep 2018 14:14:29 +0000 (16:14 +0200)]
Eevee: Fix downsampling shader with textureGather

This was leading to issues with all raytracing and AO algorithm.

Fix T55619

21 months agoGPUMaterial: Fix issue with coloramp and constant interpolation
Clément Foucault [Mon, 10 Sep 2018 16:29:14 +0000 (18:29 +0200)]
GPUMaterial: Fix issue with coloramp and constant interpolation

It was not respecting the clamp to edge texture param because we use
texelFetch directly in this case.

21 months agoCloth: Fix mistake in recent angular bending commit (b6f0f8a5b5a)
Luca Rood [Tue, 11 Sep 2018 14:09:45 +0000 (16:09 +0200)]
Cloth: Fix mistake in recent angular bending commit (b6f0f8a5b5a)

The angular spring force computation function was being called even in
linear mode, with empty angular springs.

21 months agoFollowup for previous PBVH commit
Sergey Sharybin [Tue, 11 Sep 2018 13:32:02 +0000 (15:32 +0200)]
Followup for previous PBVH commit

Didn't realize the index buffer is stored once in a BVH
and same pointer is reused. Surprisingly, simple files
were fixed with the previous fix.

Now disabled the optimization all together, and it was
simpler to just completely remove all residue of the
code. It is likely to be a different implementation
anyway, so no need to try to keep code in a semi-broken
state.

21 months agoGPUVertBuf.fill: support for objects with buffer interface.
mano-wii [Tue, 11 Sep 2018 13:03:53 +0000 (10:03 -0300)]
GPUVertBuf.fill: support for objects with buffer interface.

Differential Revision: https://developer.blender.org/D3684

21 months agoFIx/workaround wrong number of primitives in PBVG grid buffers
Sergey Sharybin [Tue, 11 Sep 2018 12:41:39 +0000 (14:41 +0200)]
FIx/workaround wrong number of primitives in PBVG grid buffers

Nodes can have different number of grids, so can not so simply
re-use index buffer across nodes. For now allow re-using buffer
if number of grids matches.

The issue is, number of grids is probably almost never matches,
so in order to have this optimization working need more tricks.
Maybe we can "instance" index buffers?

21 months agoUI: fix redo panel becoming permanently hidden
Campbell Barton [Tue, 11 Sep 2018 12:39:38 +0000 (22:39 +1000)]
UI: fix redo panel becoming permanently hidden

21 months agoBuild: require OpenJPEG 2.x minimum, remove bundled version.
Brecht Van Lommel [Thu, 30 Aug 2018 12:20:19 +0000 (14:20 +0200)]
Build: require OpenJPEG 2.x minimum, remove bundled version.

* WITH_SYSTEM_OPENJPEG is removed and is now always on, this was already
  the case for macOS and Windows.
* This should not break existing Linx builds. If there is no new enough
  OpenJPEG installed, CMake will no find libopenjp2 and WITH_IMAGE_OPENJPEG
  will be disabled.
* install_deps.sh was updated with new package names, since distributions
  put this version in a new package.

Differential Revision: https://developer.blender.org/D3663

21 months agoWorkspace: support reordering of workspaces from RMB menu.
Brecht Van Lommel [Thu, 23 Aug 2018 14:13:52 +0000 (16:13 +0200)]
Workspace: support reordering of workspaces from RMB menu.

Drag and drop will follow later, it's a bit complicated to make this work
reliable in the current UI code.

21 months agoCleanup: remove unused GPU code.
Brecht Van Lommel [Tue, 11 Sep 2018 09:34:03 +0000 (11:34 +0200)]
Cleanup: remove unused GPU code.

21 months agoPBVH: Fix miossing normals for grids
Sergey Sharybin [Tue, 11 Sep 2018 09:50:09 +0000 (11:50 +0200)]
PBVH: Fix miossing normals for grids