blender.git
12 months agoFollow up to MESH_OT_offset_edge_loops
Dalai Felinto [Fri, 31 Aug 2018 20:23:33 +0000 (17:23 -0300)]
Follow up to MESH_OT_offset_edge_loops

Committing this as a separate commit since we may want to keep this mode syncing
elsewhere. But for now it makes sense to do it like this.

12 months agoMulti-Objects: MESH_OT_offset_edge_loops
milios [Fri, 31 Aug 2018 20:07:42 +0000 (17:07 -0300)]
Multi-Objects: MESH_OT_offset_edge_loops

Changes from reviewer (Dalai Felinto):
* Code style (replace tabs with spaces).
* Return OPERATOR_CANCELLED if no a single object get through.

Maniphest Tasks: T54643
https://developer.blender.org/D3392

12 months agoFixup for MESH_OT_vertices_smooth_laplacian
Dalai Felinto [Fri, 31 Aug 2018 20:00:21 +0000 (17:00 -0300)]
Fixup for MESH_OT_vertices_smooth_laplacian

Failing to repeat should return, but continue the object loop.
Should test for selected vertex, not face.

12 months agoFixup for multi-objects snap functions
Dalai Felinto [Fri, 31 Aug 2018 19:33:45 +0000 (16:33 -0300)]
Fixup for multi-objects snap functions

Sanitizing the use of TransVertStore, making sure it is always freed.
Skip meshes with no vertex selected.

12 months agoFix memleak on snap_curs_to_sel_ex
Dalai Felinto [Fri, 31 Aug 2018 19:23:38 +0000 (16:23 -0300)]
Fix memleak on snap_curs_to_sel_ex

12 months agoMESH_OT_symmetrize: Cleanup, get op->ptr props outside objects loop
Dalai Felinto [Fri, 31 Aug 2018 18:53:07 +0000 (15:53 -0300)]
MESH_OT_symmetrize: Cleanup, get op->ptr props outside objects loop

12 months agoMulti-Objects: MESH_OT_symmetry_snap
n-kall [Fri, 31 Aug 2018 18:33:12 +0000 (15:33 -0300)]
Multi-Objects: MESH_OT_symmetry_snap

Reviewers: dfelinto
Differential Revision: https://developer.blender.org/D3374

12 months agoMESH_OT_blend_from_shape: Add error when no selected vertex
Dalai Felinto [Fri, 31 Aug 2018 18:22:54 +0000 (15:22 -0300)]
MESH_OT_blend_from_shape: Add error when no selected vertex

This is just something simple I caught while testing the patch for multi-object.

12 months agoMulti-Object-Mode: MESH_OT_blend_from_shape
Habib Gahbiche [Fri, 31 Aug 2018 17:25:18 +0000 (14:25 -0300)]
Multi-Object-Mode: MESH_OT_blend_from_shape

"Blend from Shape" lists keys from active object and applies to all selected
objects that have keys with a matching name.

Changes from reviewer (Dalai Felinto):
* Code Style.
* Move Object **objects after sanity check to prevent leak when
  returning OPERATOR_CANCELLED.
* Skip objects that have no selected vertex.
* Fixed existent comments code-style: Since we are changing the indentation of
  these lines, may as well correct this as well.

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

12 months agoMESH_OT_shape_propagate_to_all: Add error when no selected vertex
Dalai Felinto [Fri, 31 Aug 2018 17:20:05 +0000 (14:20 -0300)]
MESH_OT_shape_propagate_to_all: Add error when no selected vertex

This is just something simple I caught while testing the patch for multi-object.

12 months agoMulti-Objects: MESH_OT_shape_propagate_to_all
Habib Gahbiche [Fri, 31 Aug 2018 15:26:01 +0000 (12:26 -0300)]
Multi-Objects: MESH_OT_shape_propagate_to_all

Pressing "Propagate to Shapes" now propagates the current shapes to the selected
object's respective keys, if at least one selected object has shape keys.

Discussion here:
https://devtalk.blender.org/t/behaviour-of-shape-keys-in-multi-object-mode/1956/4

Changes from reviewer (Dalai Felinto):
* Code style
* Error message
* Remove dead code

Reviewers: dfelinto
Differential Revision: https://developer.blender.org/D3651

12 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 31 Aug 2018 15:08:29 +0000 (17:08 +0200)]
Merge branch 'master' into blender2.8

12 months agoBuildbot: Usable PIE
Sergey Sharybin [Fri, 31 Aug 2018 15:05:51 +0000 (17:05 +0200)]
Buildbot: Usable PIE

Makes it impossible to run from GUI on certain platforms, see T56628.

12 months agoCleanup: edbm_do_smooth_laplacian_vertex_exec
Dalai Felinto [Fri, 31 Aug 2018 14:43:44 +0000 (11:43 -0300)]
Cleanup: edbm_do_smooth_laplacian_vertex_exec

12 months agoMulti-Object-Editing: MESH_OT_vertices_smooth_laplacian
Habib Gahbiche [Fri, 31 Aug 2018 14:29:01 +0000 (11:29 -0300)]
Multi-Object-Editing: MESH_OT_vertices_smooth_laplacian

Since D3284 was inactive for a long time, I figured I could finish this.

This revision also gives warning when there are no selected faces or when
selected faces are invalid.

Changes from reviewer (Dalai Felinto) :
* Code style
* Fix checking for ngons (BM_ITER_MESH is a for loop, you need to break from it
before continuing the object iteration loop).

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

12 months agoCloth: Implement angular bending springs
Luca Rood [Mon, 5 Dec 2016 23:39:29 +0000 (21:39 -0200)]
Cloth: Implement angular bending springs

This implements angular bending springs for cloth simulation. This also
adds shearing springs for n-gons.

This angular spring implementation does not include Jacobian matrices,
as the springs can exist between polygons of different vertex counts,
rendering their relationships asymmetrical, and thus impossible to solve
with the current implementation. This means that the bending component
is solved explicitly. However, this is usually not a big problem, as
bending springs contribute less to instability than structural springs.

The the old linear bending model can still be used, and is the default for
existing files, to keep compatibility. However, the new angular bending
model is the default for any new simulation.

This commit makes small breaking changes, in that shearing springs are
now created on n-gons (also in linear bending mode), while n-gons were
previously ignored.

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D3662

12 months agoCloth: Componentize forces
Luca Rood [Tue, 28 Aug 2018 22:29:37 +0000 (00:29 +0200)]
Cloth: Componentize forces

This separates cloth stiffness and damping forces into tension,
compression, and shearing components, allowing more control over the
cloth behaviour.

This also adds a bending model selector (although the new bending model
itself is not implemented in this commit). This is because some of the
features implemented here only make sense within the new bending model,
while the old model is kept for compatibility.

This commit makes non-breaking changes, and thus maintains full
compatibility with existing simulations.

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D3655

12 months agoMulti-Objects: VIEW3D_OT_snap_selected_to_cursor by Habib Gahbiche
Dalai Felinto [Fri, 31 Aug 2018 13:54:24 +0000 (10:54 -0300)]
Multi-Objects: VIEW3D_OT_snap_selected_to_cursor by Habib Gahbiche

Objects in edit mode now behave as if they were joined.

Changes from reviewer (Dalai Felinto): code style (tabs, spaces, ...), missing MEM_freeN(objects);

https://developer.blender.org/D3648

12 months agoPython: Enable MASS unit in FloatProperty
Monique Dewanchand [Fri, 31 Aug 2018 13:00:38 +0000 (15:00 +0200)]
Python: Enable MASS unit in FloatProperty

MASS unit was already implemented for the C api. Only making sure it is
accessible in the python api. Also added 'CAMERA' to the documentation as a valid option.

12 months agoFix Text Boxes not drawing
Dalai Felinto [Fri, 31 Aug 2018 12:53:44 +0000 (09:53 -0300)]
Fix Text Boxes not drawing

I'm using a different shading group for the active text box and the others.
This way I can assign different colors to them.

The alternative would be to create a new `shgroup_dynlines_dashed_flat_color`,
but I find this overkill for such a simple use case.

12 months agoRemove CCGDM from PBVH
Sergey Sharybin [Fri, 31 Aug 2018 10:41:23 +0000 (12:41 +0200)]
Remove CCGDM from PBVH

The statement that PBVH needs to keep track of CCGDM is wrong, PBVH itself
does not care about CCGDM at all, and it's weird for it to carry on this
beast so others can access.

Even more, nobody will actually caring about CCGDM itself, all the usages
were checking whether there is CCGDM or not. This is as good as simply
checking PBVH type.

Tested with an original report T53551 and everything is still stable.

12 months agoFix broken decorate buttong dragging after recent changes.
Brecht Van Lommel [Fri, 31 Aug 2018 11:35:07 +0000 (13:35 +0200)]
Fix broken decorate buttong dragging after recent changes.

12 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Fri, 31 Aug 2018 11:00:19 +0000 (13:00 +0200)]
Merge branch 'master' into blender2.8

12 months agoFix T56618: crash in release builds when GHOST asserts.
Brecht Van Lommel [Fri, 31 Aug 2018 10:32:12 +0000 (12:32 +0200)]
Fix T56618: crash in release builds when GHOST asserts.

WITH_ASSERT_ABORT was not disabled for release builds. In most cases asserts
are disabled in release builds, but not always.

This also changes the buildbot to use blender_release.cmake instead of
blender_full.cmake, the only effective difference should be WITH_ASSERT_ABORT.

12 months agoFix T56618: crash when typing certain characters on Linux.
Brecht Van Lommel [Fri, 31 Aug 2018 10:39:16 +0000 (12:39 +0200)]
Fix T56618: crash when typing certain characters on Linux.

12 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 31 Aug 2018 10:30:19 +0000 (12:30 +0200)]
Merge branch 'master' into blender2.8

12 months agoCycles: Cleanup, use explicit comparison with NULL
Sergey Sharybin [Fri, 31 Aug 2018 10:28:12 +0000 (12:28 +0200)]
Cycles: Cleanup, use explicit comparison with NULL

12 months agoFix T56626: Cycles ambient occlusion only local : crash
Sergey Sharybin [Fri, 31 Aug 2018 10:14:36 +0000 (12:14 +0200)]
Fix T56626: Cycles ambient occlusion only local : crash

Was caused by missing NULL pointer check in BVH8.

12 months agoCleanup: Remove unused field
Antonioya [Fri, 31 Aug 2018 07:54:35 +0000 (09:54 +0200)]
Cleanup: Remove unused field

12 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 31 Aug 2018 04:53:34 +0000 (14:53 +1000)]
Merge branch 'master' into blender2.8

12 months agoPyAPI: replace checks for invalid input w/ assert
Campbell Barton [Fri, 31 Aug 2018 04:51:59 +0000 (14:51 +1000)]
PyAPI: replace checks for invalid input w/ assert

Was returning -1 as a bool argument,
in this case the caller needs to ensure non-null args.

12 months agoTool System: support tool description for tips
Campbell Barton [Fri, 31 Aug 2018 04:37:10 +0000 (14:37 +1000)]
Tool System: support tool description for tips

When the description isn't set, the operators is used instead.

12 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 31 Aug 2018 04:25:42 +0000 (14:25 +1000)]
Merge branch 'master' into blender2.8

12 months agoC/Python API: Add PyC_RunString_AsIntPtr
Campbell Barton [Fri, 31 Aug 2018 04:21:32 +0000 (14:21 +1000)]
C/Python API: Add PyC_RunString_AsIntPtr

Utility to get an int or pointer from a Python expression.

12 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 31 Aug 2018 03:40:10 +0000 (13:40 +1000)]
Merge branch 'master' into blender2.8

12 months agoCleanup: rename WM_keymap_find -> WM_keymap_ensure
Campbell Barton [Fri, 31 Aug 2018 03:36:14 +0000 (13:36 +1000)]
Cleanup: rename WM_keymap_find -> WM_keymap_ensure

12 months agoFix T56619: Transform crash w/ curve deform
Campbell Barton [Fri, 31 Aug 2018 01:09:26 +0000 (11:09 +1000)]
Fix T56619: Transform crash w/ curve deform

12 months agoCleanup: GPU_BATCH_DISCARD_ARRAY_SAFE (deduplicate existing code)
Dalai Felinto [Thu, 30 Aug 2018 20:47:36 +0000 (17:47 -0300)]
Cleanup: GPU_BATCH_DISCARD_ARRAY_SAFE (deduplicate existing code)

12 months agoFix Font object: text selection and cursor not updating
Dalai Felinto [Thu, 30 Aug 2018 20:35:33 +0000 (17:35 -0300)]
Fix Font object: text selection and cursor not updating

12 months agoSilence Grease Pencil warning
Dalai Felinto [Thu, 30 Aug 2018 20:48:53 +0000 (17:48 -0300)]
Silence Grease Pencil warning

12 months agoGP: Change icon identfier for shaderFx
Antonioya [Thu, 30 Aug 2018 17:22:24 +0000 (19:22 +0200)]
GP: Change icon identfier for shaderFx

This commit complements commit d2ad256326736c8a4c746163f9b27491d8a6e95a

12 months agoUI: remove context path from tool settings tab in properties editor.
Brecht Van Lommel [Thu, 30 Aug 2018 15:29:09 +0000 (17:29 +0200)]
UI: remove context path from tool settings tab in properties editor.

12 months agoUI: add dedicated icon IDs for decorators, tool settings, shaderfx, overlays.
Brecht Van Lommel [Fri, 24 Aug 2018 10:54:48 +0000 (12:54 +0200)]
UI: add dedicated icon IDs for decorators, tool settings, shaderfx, overlays.

The preset and decorator icons were updated to be monochrome and draw in the
same color as text. Other icons are unchanged, having them as separate icon IDs
prepares for an artist to make them.

12 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 30 Aug 2018 15:40:06 +0000 (17:40 +0200)]
Merge branch 'master' into blender2.8

12 months agoCycles: Cleanup, whitespace after keyword
Sergey Sharybin [Thu, 30 Aug 2018 15:34:11 +0000 (17:34 +0200)]
Cycles: Cleanup, whitespace after keyword

12 months agoCleanup: Improve comments
Antonioya [Thu, 30 Aug 2018 14:44:52 +0000 (16:44 +0200)]
Cleanup: Improve comments

12 months agoGP: Fix unreported surface missing strokes
Antonioya [Thu, 30 Aug 2018 14:42:03 +0000 (16:42 +0200)]
GP: Fix unreported surface missing strokes

When drawing in surface mode if the stroke z-depth was not valid, the stroke was created, but it was not visible because location was something illogical.

Now, if the z-depth cannot be calculated, the stroke is calculated as it was done in other modes.

12 months agoWorkspaces: switch object mode when switching workspaces.
Brecht Van Lommel [Tue, 21 Aug 2018 13:27:29 +0000 (15:27 +0200)]
Workspaces: switch object mode when switching workspaces.

In the workspace properties a mode can now be configured that is
automatically enabled when switching to the workspace.

This is a test to validate how well it works. The weak point is
that if you don't have an appropriate object already select it will
not switch modes.

See T56475.

12 months agoFix fox strict flags: Avoid sign cast of strlen() result
Sergey Sharybin [Thu, 30 Aug 2018 12:14:18 +0000 (14:14 +0200)]
Fix fox strict flags: Avoid sign cast of strlen() result

12 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 30 Aug 2018 12:09:58 +0000 (14:09 +0200)]
Merge branch 'master' into blender2.8

12 months agoBuildbot: Correction to previous commit
Sergey Sharybin [Thu, 30 Aug 2018 12:09:14 +0000 (14:09 +0200)]
Buildbot: Correction to previous commit

12 months agoBuildbot: Attempt to fix glibc-2.19 compilation
Sergey Sharybin [Thu, 30 Aug 2018 12:07:48 +0000 (14:07 +0200)]
Buildbot: Attempt to fix glibc-2.19 compilation

It is likely to be retired, but for until then lets ensure it works.

12 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Thu, 30 Aug 2018 11:59:34 +0000 (13:59 +0200)]
Merge branch 'master' into blender2.8

12 months agoOutliner: support dragging multiple collections, same as objects.
Brecht Van Lommel [Wed, 29 Aug 2018 16:07:14 +0000 (18:07 +0200)]
Outliner: support dragging multiple collections, same as objects.

12 months agoGP: Undo previous Subdivide edit operator and reformat code
Antonioya [Thu, 30 Aug 2018 11:45:12 +0000 (13:45 +0200)]
GP:  Undo previous Subdivide edit operator  and reformat code

The previous commit reusing the subdivide modifier code was not taking in account the selected points, so the subdivide was wrong.

12 months agoCycles: Fix detection of CPU brand string on 32 bit platforms
Sergey Sharybin [Thu, 30 Aug 2018 10:50:36 +0000 (12:50 +0200)]
Cycles: Fix detection of CPU brand string on 32 bit platforms

The assembler template was backing up and restoring ebx, which is
fair enough. However, this did not prevent compiler for putting
result variables to ebx. This was causing data corruption.

In order to prevent this easiest solution is to list ebx in clobbers
for the assembly.

12 months agoUI: check prop-separate before adding black decorator
Campbell Barton [Thu, 30 Aug 2018 10:41:40 +0000 (20:41 +1000)]
UI: check prop-separate before adding black decorator

This caused the blank icon to be added to menus (ndof menu for eg).

12 months agoCleanup: warnings
Campbell Barton [Thu, 30 Aug 2018 10:47:46 +0000 (20:47 +1000)]
Cleanup: warnings

12 months agoFix T56612: crash in Cycles viewport render update, after recent changes.
Brecht Van Lommel [Thu, 30 Aug 2018 10:21:57 +0000 (12:21 +0200)]
Fix T56612: crash in Cycles viewport render update, after recent changes.

BVH8 refitting code had a bug.

12 months agoGP: New Armature modifier and tools to handle weights
Antonioya [Thu, 30 Aug 2018 10:22:55 +0000 (12:22 +0200)]
GP: New Armature modifier and tools to handle weights

This commit adds a new armature modifier for grease pencil. The deformations are done reusing the mesh deform routines.

There is also a new operator in weight paint mode to help the artist to generate weights base on armatures. This operator is required because 2D animation workflow is not equal to meshes when parent an object to armatures.

In the drawing engine has been added the option to handle the Fade object parameter used in armatures to see the strokes while move the bones.

When rename bones, all related data of grease pencil is renamed too. This not only affect new armature code, but also layers parented and hook modifiers.

Thanks @aligorith for his review and help.

12 months agoFix T56610: crash saving images with python API.
Brecht Van Lommel [Thu, 30 Aug 2018 10:19:27 +0000 (12:19 +0200)]
Fix T56610: crash saving images with python API.

12 months agoCleanup: license header formatting.
Brecht Van Lommel [Thu, 30 Aug 2018 10:09:47 +0000 (12:09 +0200)]
Cleanup: license header formatting.

12 months agoCleanup: Remove line introduced by error in previous commit
Antonioya [Thu, 30 Aug 2018 09:18:04 +0000 (11:18 +0200)]
Cleanup: Remove line introduced by error in previous commit

12 months agoGP: Add weights while drawing strokes
Antonioya [Thu, 30 Aug 2018 09:11:10 +0000 (11:11 +0200)]
GP: Add weights while drawing strokes

Now it's possible to add the weight of the current selected vertex group to any new stroke created.

This is very handy when add drawings after the weight paint was done and it will be required with Armatures.

12 months agoGP: Improve Subdivide and Simplify
Antonioya [Thu, 30 Aug 2018 09:06:44 +0000 (11:06 +0200)]
GP: Improve Subdivide and Simplify

Now the weights are managed in the operators.

The subdivide operator and modifier code have been replaced with a shared function.

Some cleanup also.

12 months agoBuild environment: Tweak to harvasting script
Sergey Sharybin [Thu, 30 Aug 2018 08:21:51 +0000 (10:21 +0200)]
Build environment: Tweak to harvasting script

The idea is to make find_package() to succeed without any
extra tips given. For this, we need header files to be
harvasted.

12 months agoUI: fix glitch redrawing after redo panel collapse
Campbell Barton [Thu, 30 Aug 2018 08:58:18 +0000 (18:58 +1000)]
UI: fix glitch redrawing after redo panel collapse

12 months agoGP: Add small offset to stroke over surface.
Antonioya [Thu, 30 Aug 2018 08:17:29 +0000 (10:17 +0200)]
GP: Add small offset to stroke over surface.

This small offset helps to keep the stroke over the surface and avoid the stoke is "inside" the face of the surface.

We could add this as a parameter in the UI, but after doing a lot of test, the valid values are very limited and don't worth the change, so a hardcoded value works fine.

12 months agoBuildbot: Get rid of OpenJPEG 2 hack
Sergey Sharybin [Thu, 30 Aug 2018 08:00:23 +0000 (10:00 +0200)]
Buildbot: Get rid of OpenJPEG 2 hack

Also clarified some options and decisions.

12 months agoCMake: Automatically detect OpenJPEG 2 libraries
Sergey Sharybin [Thu, 30 Aug 2018 07:55:40 +0000 (09:55 +0200)]
CMake: Automatically detect OpenJPEG 2 libraries

There is chance that on a system with both versions installed this
*might* cause some issues. Such system will be pain to support out
of the box anyway.

This change allows to use precompiled libraries without extra
modifications in the config.

12 months ago3D View: option to always show center in face mode
Campbell Barton [Thu, 30 Aug 2018 06:21:03 +0000 (16:21 +1000)]
3D View: option to always show center in face mode

This matches 2.7x behavior

12 months ago3D View: use thicker edges when in edge-mode
Campbell Barton [Thu, 30 Aug 2018 05:45:58 +0000 (15:45 +1000)]
3D View: use thicker edges when in edge-mode

Without this there is no visual differentiation between face/edge mode.

12 months ago3D View: scale edit-mesh drawing by pixel size
Campbell Barton [Thu, 30 Aug 2018 04:28:50 +0000 (14:28 +1000)]
3D View: scale edit-mesh drawing by pixel size

12 months agoCleanup: inline icon conditional
Campbell Barton [Thu, 30 Aug 2018 03:47:27 +0000 (13:47 +1000)]
Cleanup: inline icon conditional

12 months agoUI: show workspace panel last & use a parent panel
Campbell Barton [Thu, 30 Aug 2018 03:30:16 +0000 (13:30 +1000)]
UI: show workspace panel last & use a parent panel

12 months agoUI: move workspace panels to tool settings
Campbell Barton [Thu, 30 Aug 2018 03:06:03 +0000 (13:06 +1000)]
UI: move workspace panels to tool settings

While this isn't the most logical place, there are very few workspace
options and they don't need to be in such a prominent location.

12 months agoTransform: fix redundant gizmo constraint axis
Campbell Barton [Wed, 29 Aug 2018 23:15:19 +0000 (09:15 +1000)]
Transform: fix redundant gizmo constraint axis

Setting the constraint caused the redo to show
redundant XYZ constraints UI.

12 months agoUI: use property split for mesh options
Campbell Barton [Wed, 29 Aug 2018 23:05:48 +0000 (09:05 +1000)]
UI: use property split for mesh options

12 months agoUI: add active tool panel to tool settings
Campbell Barton [Wed, 29 Aug 2018 22:55:34 +0000 (08:55 +1000)]
UI: add active tool panel to tool settings

12 months agoMSVC: Set the warning C4189 from level 4 to level 3
mano-wii [Wed, 29 Aug 2018 16:08:00 +0000 (13:08 -0300)]
MSVC: Set the warning C4189 from level 4 to level 3

This is a useful warning and there is an equivalent used in `GNUC` and `clang` compilers.

Reviewed on IRC by @brecht and @LazyDodo

12 months agoFix Freestyle build error after recent merge.
Brecht Van Lommel [Wed, 29 Aug 2018 16:53:15 +0000 (18:53 +0200)]
Fix Freestyle build error after recent merge.

12 months agoCorrection to previous commit
Sergey Sharybin [Wed, 29 Aug 2018 16:37:49 +0000 (18:37 +0200)]
Correction to previous commit

Should not include ABI.

12 months agoBuildbot: Tweak configuration to actually ve successful in chroot
Sergey Sharybin [Wed, 29 Aug 2018 16:32:27 +0000 (18:32 +0200)]
Buildbot: Tweak configuration to actually ve successful in chroot

12 months agoBuildbot: Make configuration to pass config state
Sergey Sharybin [Wed, 29 Aug 2018 15:56:17 +0000 (17:56 +0200)]
Buildbot: Make configuration to pass config state

- Foe some reason CMake's platform and processor are not intialized there.

- Need to set variables in cache, otherwise they are not visible in the
  actual CMake files.

12 months agoCleanup: add file doxy comments
Campbell Barton [Wed, 29 Aug 2018 15:56:08 +0000 (01:56 +1000)]
Cleanup: add file doxy comments

12 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 29 Aug 2018 15:36:52 +0000 (01:36 +1000)]
Merge branch 'master' into blender2.8

12 months agoCleanup: indentation
Campbell Barton [Wed, 29 Aug 2018 15:31:20 +0000 (01:31 +1000)]
Cleanup: indentation

12 months agoCleanup: use simple early exit for common case
Campbell Barton [Wed, 29 Aug 2018 15:19:44 +0000 (01:19 +1000)]
Cleanup: use simple early exit for common case

Caused MSVC warning, may as well do simple check.

12 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 29 Aug 2018 15:05:46 +0000 (01:05 +1000)]
Merge branch 'master' into blender2.8

12 months agoCleanup: trailing space
Campbell Barton [Wed, 29 Aug 2018 15:05:13 +0000 (01:05 +1000)]
Cleanup: trailing space

12 months agoCleanup: trailing space
Campbell Barton [Wed, 29 Aug 2018 15:02:44 +0000 (01:02 +1000)]
Cleanup: trailing space

12 months agoCleanup: correct header guard
Campbell Barton [Wed, 29 Aug 2018 15:02:26 +0000 (01:02 +1000)]
Cleanup: correct header guard

12 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Wed, 29 Aug 2018 14:42:32 +0000 (16:42 +0200)]
Merge branch 'master' into blender2.8

12 months agoFix Cycles CUDA build after recent changes.
Brecht Van Lommel [Wed, 29 Aug 2018 14:35:21 +0000 (16:35 +0200)]
Fix Cycles CUDA build after recent changes.

12 months agoCleanup: remove unused build environment patches.
Brecht Van Lommel [Wed, 29 Aug 2018 12:33:42 +0000 (14:33 +0200)]
Cleanup: remove unused build environment patches.

12 months agoCleanup: consistent includes.
Brecht Van Lommel [Wed, 29 Aug 2018 11:54:26 +0000 (13:54 +0200)]
Cleanup: consistent includes.

12 months agoBuildbot: Some inital work to support newer chroot environment
Sergey Sharybin [Wed, 29 Aug 2018 14:29:25 +0000 (16:29 +0200)]
Buildbot: Some inital work to support newer chroot environment

12 months agoPython / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.
Brecht Van Lommel [Wed, 29 Aug 2018 13:02:21 +0000 (15:02 +0200)]
Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.

12 months agoCleanup: rename files from group to collection to match contents.
Brecht Van Lommel [Wed, 29 Aug 2018 13:32:50 +0000 (15:32 +0200)]
Cleanup: rename files from group to collection to match contents.

12 months agoCMake: Allow specifying custom LIBDIR on Unix
Sergey Sharybin [Wed, 29 Aug 2018 14:15:54 +0000 (16:15 +0200)]
CMake: Allow specifying custom LIBDIR on Unix

Works similar to how maxOS deals with this.