22 months agoModifiers: sanitize/cleanup modifiers' copying & freeing code.
Bastien Montagne [Tue, 8 May 2018 12:21:02 +0000 (14:21 +0200)]
Modifiers: sanitize/cleanup modifiers' copying & freeing code.

Should also fix T55000: Crash with hooks and curves in Cycles render.

22 months agoCleanup: quiet -Warray-bounds warning
Campbell Barton [Tue, 8 May 2018 11:32:52 +0000 (13:32 +0200)]
Cleanup: quiet -Warray-bounds warning

22 months agoTracking: Use bmain from context
Sergey Sharybin [Tue, 8 May 2018 09:58:42 +0000 (11:58 +0200)]
Tracking: Use bmain from context

22 months agoCleanup: remove unused wmReport struct
Campbell Barton [Tue, 8 May 2018 05:52:13 +0000 (07:52 +0200)]
Cleanup: remove unused wmReport struct

22 months agoFix (unreported) memleak when copying object with some modifiers.
Bastien Montagne [Mon, 7 May 2018 15:58:35 +0000 (17:58 +0200)]
Fix (unreported) memleak when copying object with some modifiers.

22 months agoCleanup: rename char/float conversion functions
Campbell Barton [Mon, 7 May 2018 15:31:28 +0000 (17:31 +0200)]
Cleanup: rename char/float conversion functions

- FTOCHAR       -> unit_float_to_uchar_clamp
- F3TOCHAR3     -> unit_float_to_uchar_clamp_v3 (swap args)
- F4TOCHAR4     -> unit_float_to_uchar_clamp_v4 (swap args)
- FTOUSHORT     -> unit_float_to_ushort_clamp
- USHORTTOUCHAR -> unit_ushort_to_uchar

22 months agoCleanup: move unit char/short/float to functions
Campbell Barton [Mon, 7 May 2018 15:14:28 +0000 (17:14 +0200)]
Cleanup: move unit char/short/float to functions

This caused GCC 8.1 to crash at build time,
but was also not very nice use of macros.

22 months agoFix Movieclip editors 'graph' and 'dopesheet' view using themes region
Philipp Oeser [Mon, 7 May 2018 12:57:05 +0000 (14:57 +0200)]
Fix Movieclip editors 'graph' and 'dopesheet' view using themes region
background setting

mentioned in T54942

Reviewed By: campbellbarton

Differential Revision:

22 months agoFix T54525: crash when setting number of frames to use between dupoff
Philipp Oeser [Mon, 7 May 2018 12:49:09 +0000 (14:49 +0200)]
Fix T54525: crash when setting number of frames to use between dupoff

caused division by zero if both dupli_frames_on and dupli_frames_off are
zero. doing this doesnt seem useful, dupliframes can be disabled in
other ways.

Reviewed By: campbellbarton

Differential Revision:

22 months agoMore tweaks to strict compiler flags
Sergey Sharybin [Mon, 7 May 2018 12:28:22 +0000 (14:28 +0200)]
More tweaks to strict compiler flags

22 months agoSilence compilation error around possible fall-through
Sergey Sharybin [Mon, 7 May 2018 12:19:12 +0000 (14:19 +0200)]
Silence compilation error around possible fall-through

22 months agoFix wrong comparison of drop target URI on X11
Sergey Sharybin [Mon, 7 May 2018 12:08:33 +0000 (14:08 +0200)]
Fix wrong comparison of drop target URI on X11

Need to compare, NOT to override passed file name.

22 months agoFix Bevel percent mode bug 54228
Howard Trickey [Mon, 7 May 2018 11:04:12 +0000 (07:04 -0400)]
Fix Bevel percent mode bug 54228

Previous new adjust pass commit should have excluded percent mode.

22 months agoFix T54324: remove stencil entries from weight paint keymap
Philipp Oeser [Mon, 7 May 2018 10:28:15 +0000 (12:28 +0200)]
Fix T54324: remove stencil entries from weight paint keymap

Reviewed By: mont29

Differential Revision:

22 months agoFix T54594: Lattice with Armature modifier not updating correctly
Sergey Sharybin [Mon, 7 May 2018 10:04:50 +0000 (12:04 +0200)]
Fix T54594: Lattice with Armature modifier not updating correctly

22 months agoFix T54966: mathutils.noise.voronoi Memory leak
Bastien Montagne [Mon, 7 May 2018 09:07:11 +0000 (11:07 +0200)]
Fix T54966: mathutils.noise.voronoi Memory leak

C code was not correctly handling release of temp data, not technically
a memory leak, but indeed rather annoying bug! ;)

22 months agoNodes: show node labels (like image name) in material properties node view.
Brecht Van Lommel [Mon, 19 Feb 2018 13:39:27 +0000 (14:39 +0100)]
Nodes: show node labels (like image name) in material properties node view.

22 months agoCleanup: split rotation_from_view
Campbell Barton [Sun, 6 May 2018 16:32:18 +0000 (18:32 +0200)]
Cleanup: split rotation_from_view

Add a function that takes only a quat, instead of the 3D view.

Allows for using non-view orientations.

22 months agoObject Snap: add object & matrix to view ray cast
Campbell Barton [Sun, 6 May 2018 13:56:09 +0000 (15:56 +0200)]
Object Snap: add object & matrix to view ray cast

Some snap functions already exposed this.

22 months agoWM: include macros in last-properties
Campbell Barton [Sun, 6 May 2018 06:54:58 +0000 (08:54 +0200)]
WM: include macros in last-properties

Needed for 2.8 tool system storage of macro properties.

22 months agoIDProp API: use stored string length for IDP_repr
Campbell Barton [Sun, 6 May 2018 06:45:54 +0000 (08:45 +0200)]
IDProp API: use stored string length for IDP_repr

Also NULL check ID pointers.

22 months agoFix T54801: incorrect render with zero weight transparent BSDFs.
Brecht Van Lommel [Sat, 5 May 2018 23:24:53 +0000 (01:24 +0200)]
Fix T54801: incorrect render with zero weight transparent BSDFs.

22 months agoIDProp API: add native C repr function
Campbell Barton [Sat, 5 May 2018 12:27:54 +0000 (14:27 +0200)]
IDProp API: add native C repr function

Was using Python which wasn't very efficient (even for logging).

22 months agoPyAPI: add pop method to RNA struct types
Campbell Barton [Sat, 5 May 2018 07:53:30 +0000 (09:53 +0200)]
PyAPI: add pop method to RNA struct types

This fits in with existing dict style access.

22 months agoIDProp Py API: Add default argument to pop
Campbell Barton [Sat, 5 May 2018 07:48:06 +0000 (09:48 +0200)]
IDProp Py API: Add default argument to pop

Match dict.pop behavior.

22 months agoIDProp API: Avoid redundant group replace lookup
Campbell Barton [Sat, 5 May 2018 07:31:17 +0000 (09:31 +0200)]
IDProp API: Avoid redundant group replace lookup

22 months agoBKE: bvhuils: remove member `sphere_radius`.
Germano [Fri, 4 May 2018 14:57:01 +0000 (11:57 -0300)]
BKE: bvhuils: remove member `sphere_radius`.

This member currently doubles the value of `ray->radius` or is not even used.

22 months agoFix erroe in previous commit.
Germano [Fri, 4 May 2018 14:22:50 +0000 (11:22 -0300)]
Fix erroe in previous commit.

22 months agoBKE: bvhutils: Unifies static functions oh bvhtrees creation.
Germano [Fri, 4 May 2018 14:15:21 +0000 (11:15 -0300)]
BKE: bvhutils: Unifies static functions oh bvhtrees creation.

22 months agoCleanup: Remove G.main from framechange_poses_clear_unkeyed()
Sergey Sharybin [Fri, 4 May 2018 12:57:31 +0000 (14:57 +0200)]
Cleanup: Remove G.main from framechange_poses_clear_unkeyed()

22 months agoBKE: Smoke: Fix error with implicit declaration of function due recent changes.
Germano [Fri, 4 May 2018 13:11:30 +0000 (10:11 -0300)]
BKE: Smoke: Fix error with implicit declaration of function due recent changes.

22 months agoBKE: BVHtree: Replace all external references of `bvhtree_from_mesh_looptri` with...
Germano [Fri, 4 May 2018 12:21:42 +0000 (09:21 -0300)]
BKE: BVHtree: Replace all external references of `bvhtree_from_mesh_looptri` with `bvhtree_from_mesh_get`.

22 months agoMesh Remap: Face Corner Data: Do not use large epsilon values to create bvhtrees.
Germano [Fri, 4 May 2018 12:01:56 +0000 (09:01 -0300)]
Mesh Remap: Face Corner Data: Do not use large epsilon values to create bvhtrees.

Use ray radius instead.

22 months agoMesh Remap: Face Data: Do not use large epsilon values to create bvhtree.
Germano [Fri, 4 May 2018 11:29:00 +0000 (08:29 -0300)]
Mesh Remap: Face Data: Do not use large epsilon values to create bvhtree.

If you need the approximation, use raycast radius.

22 months agoDepsgraph: Fix extra operations and relations created for shared armatures
Sergey Sharybin [Fri, 4 May 2018 10:49:28 +0000 (12:49 +0200)]
Depsgraph: Fix extra operations and relations created for shared armatures

22 months agoMesh Remap: Change the sphere_radius parameter instead of creating a bvhtree with...
Germano [Fri, 4 May 2018 10:43:08 +0000 (07:43 -0300)]
Mesh Remap: Change the sphere_radius parameter instead of creating a bvhtree with epsilon equal to the value of ray_radius.

This is the desirable behavior.
It also removes one more use of `bvhtree_from_mesh_looptri`.

22 months agoConstraint: Shrink Warp: Replace `bvhtree_from_mesh_looptri` with` bvhtree_from_mesh_...
Germano [Fri, 4 May 2018 10:39:07 +0000 (07:39 -0300)]
Constraint: Shrink Warp: Replace `bvhtree_from_mesh_looptri` with` bvhtree_from_mesh_get`.

The value of epsilon was never used to create this bvhtree because whenever we activate this constraint, a bvhtree with parameter epsilon 0.0 was created and cached.

22 months agoMesh Lapacian: Use `isect_ray_tri_watertight_v3` instead of Epsilons to prevent corne...
Germano [Fri, 4 May 2018 10:33:26 +0000 (07:33 -0300)]
Mesh Lapacian: Use `isect_ray_tri_watertight_v3` instead of Epsilons to prevent corners errors in raycast.

Using FLT_EPSILON can fail with large coordinate values.
This commit also avoids storing bvhtrees with different settings in BVHCache.

22 months agoFix T54935: Particle group instances don't render when hidden in viewport
Sergey Sharybin [Fri, 4 May 2018 09:40:27 +0000 (11:40 +0200)]
Fix T54935: Particle group instances don't render when hidden in viewport

Seems to be only related on linked nature of particles.

This is caused by some conflicting optimization done for viewport, which
does not do particles re-calculation if they do not depend on time
(which is crucial for big layout scene grass fields) and particle render
setting  switch which was relying on fact that render pipeline will do
particle update via time dependency.

Now we extent an old workaround for invisible objects, which now also
deals with particles in the same way as old dependency graph was dealing
with this: tag object data for update if there is particle system.

There shouldn't be any speed difference between old and new depsgraph,
since tagging was already needed and was happening.

In Blender 2.8 such things should be easier to deal with since the whole
depsgraph is to be evaluated for render engine anyway.

22 months agoFix T54341: Particle Instance Modifier doesn't preserve edge data
Philipp Oeser [Fri, 4 May 2018 07:20:57 +0000 (09:20 +0200)]
Fix T54341: Particle Instance Modifier doesn't preserve edge data

22 months agoFix wireframe modifier w/ even offset
Campbell Barton [Fri, 4 May 2018 06:38:01 +0000 (08:38 +0200)]
Fix wireframe modifier w/ even offset

Was passing non-normalized axis to angle_on_axis.

22 months agoLogging: setting log level wasn't working
Campbell Barton [Fri, 4 May 2018 06:00:22 +0000 (08:00 +0200)]
Logging: setting log level wasn't working

22 months agoIDProp API: expose repr utility function
Campbell Barton [Fri, 4 May 2018 05:26:42 +0000 (07:26 +0200)]
IDProp API: expose repr utility function

Useful for logging properties passed to operators.

23 months agoBKE: BVHtree: make `bvhtree_from_mesh_edges` a static function.
Germano [Thu, 3 May 2018 21:33:16 +0000 (18:33 -0300)]
BKE: BVHtree: make `bvhtree_from_mesh_edges` a static function.

This will help us have more control over bvhtrees that are cached.

23 months agoFix `Transfer Mesh Data` with `Edge Mapping` of type `Projected Edge Interpolated...
Germano [Thu, 3 May 2018 21:19:36 +0000 (18:19 -0300)]
Fix `Transfer Mesh Data` with `Edge Mapping` of type `Projected Edge Interpolated` and `Ray Radius` other than 0.0.

`MREMAP_RAYCAST_APPROXIMATE_BVHEPSILON(ray_radius)` greatly increased the radius making for example that 0.1 becoming 1.5
Now the result is much more predictable.

23 months agoParticle Edit: Shape Cut: Create and use bvhtree with AABB hull.
Germano [Thu, 3 May 2018 18:52:09 +0000 (15:52 -0300)]
Particle Edit: Shape Cut: Create and use bvhtree with AABB hull.

This bvhtree is only used for raycast. Currently the raycast does not benefit from general hull.

23 months agoDynamic Paint: Create and use bvhtree with AABB hull.
Germano [Thu, 3 May 2018 18:50:48 +0000 (15:50 -0300)]
Dynamic Paint: Create and use bvhtree with AABB hull.

This bvhtree is only used for raycast and find_nearest which currently do not benefit from general hull.

23 months agoFix T54927: BMesh Py error w/ select history slice
Campbell Barton [Thu, 3 May 2018 18:23:32 +0000 (20:23 +0200)]
Fix T54927: BMesh Py error w/ select history slice

23 months agoCleanup: correct solidify logic
Campbell Barton [Thu, 3 May 2018 17:48:28 +0000 (19:48 +0200)]
Cleanup: correct solidify logic

Code for side normals isn't executing at the moment,
so not essential, but better correct it.

23 months agoCleanup: parentheses warning
Campbell Barton [Thu, 3 May 2018 17:37:20 +0000 (19:37 +0200)]
Cleanup: parentheses warning

23 months agoBKE bvhtree: Add `tree_type` parameter to `bvhtree_from_mesh_get`.
Germano [Thu, 3 May 2018 17:26:39 +0000 (14:26 -0300)]
BKE bvhtree: Add `tree_type` parameter to `bvhtree_from_mesh_get`.

This will allow greater control of the bvhtrees that are obtained, and helps identify problems.
It is also an additional step to unify the functions.

23 months agoFix tooltip for constraints' subtarget.
Bastien Montagne [Thu, 3 May 2018 14:00:34 +0000 (16:00 +0200)]
Fix tooltip for constraints' subtarget.

Thanks @aligorith for the head-up.

23 months agoCleanup: factorize RNA constraint targets definition.
Bastien Montagne [Thu, 3 May 2018 13:00:12 +0000 (15:00 +0200)]
Cleanup: factorize RNA constraint targets definition.

No expected changes in behavior from that commit!

23 months agoCleanup: split out extrude spin/screw
Campbell Barton [Thu, 3 May 2018 06:13:17 +0000 (08:13 +0200)]
Cleanup: split out extrude spin/screw

Since these will have their own manipulators,
its more convenient to keep them separate.

23 months agoRefactoring: bvhutils: Use a function that gets the bvhtree through an identifier...
Germano [Tue, 1 May 2018 13:03:28 +0000 (10:03 -0300)]
Refactoring: bvhutils: Use a function that gets the bvhtree through an identifier type.

Reviewed By: @campbellbarton
Differential Revision:

23 months agoAdd support for area lights to the Apply Transform operator
Lukas Stockner [Mon, 30 Apr 2018 20:05:03 +0000 (22:05 +0200)]
Add support for area lights to the Apply Transform operator

Since area lights are affected by scaling them, it only makes sense to support applying the scale to the lamp size.
Of course, applying location or rotation does not work.

If a scaling that changes the aspect ratio is applied to a square lamp, the mode is automatically changed to Rectangle.

23 months agoFix Merge > To Cursor
Dalai Felinto [Mon, 30 Apr 2018 19:34:13 +0000 (21:34 +0200)]
Fix Merge > To Cursor

In master this is working fine, but in 2.8 ob->imat was identity matrix.
Committing this in master to simplify merging.

23 months agoCleanup: de-duplicate paint access from object
Campbell Barton [Mon, 30 Apr 2018 16:58:43 +0000 (18:58 +0200)]
Cleanup: de-duplicate paint access from object

23 months agoUV editing: Make 'Select Linked' work consistent to 3D View
Julian Eisel [Mon, 30 Apr 2018 13:42:29 +0000 (15:42 +0200)]
UV editing: Make 'Select Linked' work consistent to 3D View

Don't see a good reason for the old behavior, so better have it consistent.

23 months agoBLI Color: YUV to/from rgb colorspace option
Aaron Carlisle [Sun, 29 Apr 2018 22:00:45 +0000 (18:00 -0400)]
BLI Color: YUV to/from rgb colorspace option

This commit does two things:

- Adds an option to do the calculation in different color spaces (BT601
or BT709).
- Changes the default caluclation from legacy BT601 to BT709.

This affects several areas:

- UI areas (mainly scopes)
- ViewLevelsNode
- Several other nodes that use `COM_ConvertOperation.h`

23 months agoCycles: Cleanup: Remove double semicolons
Lukas Stockner [Sun, 29 Apr 2018 07:27:44 +0000 (09:27 +0200)]
Cycles: Cleanup: Remove double semicolons

23 months agoFix vertex paint alpha brush setting color black
Campbell Barton [Sat, 28 Apr 2018 12:47:53 +0000 (14:47 +0200)]
Fix vertex paint alpha brush setting color black

23 months agoCleanup: meaningful names for color blending
Campbell Barton [Sat, 28 Apr 2018 12:43:05 +0000 (14:43 +0200)]
Cleanup: meaningful names for color blending

23 months agoFix T54836: Select sharp edges doesn't flush to faces
Campbell Barton [Thu, 26 Apr 2018 12:30:27 +0000 (14:30 +0200)]
Fix T54836: Select sharp edges doesn't flush to faces

23 months agoCleanup: Use enums for View2D value defines
Julian Eisel [Thu, 26 Apr 2018 12:03:08 +0000 (14:03 +0200)]
Cleanup: Use enums for View2D value defines

Makes the file much less cluttered and more structured.
Also made some whitespace tweaks.

23 months agoFix discontinuity in default UVs for a torus
Philipp Oeser [Thu, 26 Apr 2018 09:18:59 +0000 (11:18 +0200)]
Fix discontinuity in default UVs for a torus

Reported in T47489 by Simon Windmill (coolpowers) who also provided the
fix, thanx.

Reviewed by Sebastian Witt (witt)

23 months agoUI: optionally pass icon size to widget_draw_icon
Campbell Barton [Wed, 25 Apr 2018 15:24:45 +0000 (17:24 +0200)]
UI: optionally pass icon size to widget_draw_icon

No functional changes.

23 months agoLibrary: Add assert to catch unsupported copy flags combination
Sergey Sharybin [Wed, 25 Apr 2018 14:59:35 +0000 (16:59 +0200)]
Library: Add assert to catch unsupported copy flags combination

Thanks Bastien for review!

23 months agoDepsgraph: Fix missing relations in array modifier
Sergey Sharybin [Wed, 25 Apr 2018 14:34:01 +0000 (16:34 +0200)]
Depsgraph: Fix missing relations in array modifier

Found by Dr. Sybren while working on modifiers port.

23 months agoCDDM: correct (disabled) logic in merge verts
Campbell Barton [Wed, 25 Apr 2018 12:53:44 +0000 (14:53 +0200)]
CDDM: correct (disabled) logic in merge verts

23 months agoRemove developer exception hack
Campbell Barton [Wed, 25 Apr 2018 10:54:27 +0000 (12:54 +0200)]
Remove developer exception hack

This caused too much trouble, also it's possible users run with
'release' in their CWD causing issues.

Developers can symlink "release/" to "bin/2.79".

23 months agoRevert "Fix (unreported) broken 'get system path' in some cases."
Campbell Barton [Wed, 25 Apr 2018 10:48:51 +0000 (12:48 +0200)]
Revert "Fix (unreported) broken 'get system path' in some cases."

This reverts commit f1bc0aeddedacf68182164dde5d4674d11aba6c9.

23 months agoBuildbot: Attempt to link against Blosc statically
Sergey Sharybin [Wed, 25 Apr 2018 10:27:01 +0000 (12:27 +0200)]
Buildbot: Attempt to link against Blosc statically

Was broken by f1e6838376a.

23 months agoCleanup: comments
Campbell Barton [Wed, 25 Apr 2018 10:25:47 +0000 (12:25 +0200)]
Cleanup: comments

23 months agoFix (unreported) broken 'get system path' in some cases.
Bastien Montagne [Wed, 25 Apr 2018 08:33:29 +0000 (10:33 +0200)]
Fix (unreported) broken 'get system path' in some cases.

There were two issues here actually:
* The hack to allow running Blender directly from the source directory
would just check for a 'release' directory, without actually ensuring it
is release dir from blender source tree, and not some other random
* GHOST_getSystemDir returns nothing for portable installations, now
we'll then check directly in the blender binary dir in that case.

This fix is more critical in 2.8 branch, where that system path is used
to retrieve new '3D' icons...

23 months agoFix string comparison in GNUMakefile for linux systems
Dalai Felinto [Wed, 25 Apr 2018 07:28:35 +0000 (09:28 +0200)]
Fix string comparison in GNUMakefile for linux systems

23 months agoBLI BVHTree Walk DFS: Decreases the size of the stack space used for the recursive...
Germano [Tue, 24 Apr 2018 12:48:14 +0000 (09:48 -0300)]
BLI BVHTree Walk DFS: Decreases the size of the stack space used for the recursive function.

Each parameter of the function is copied into the memory stack.
This also brought an improvement in peformance of snapping functions between 5% and 12% in my tests.

23 months agoBuild: Added explicit search for Blosc in CMake files. Unix build will now disable...
Stefan Werner [Tue, 24 Apr 2018 11:26:54 +0000 (13:26 +0200)]
Build: Added explicit search for Blosc in CMake files. Unix build will now disable WITH_OPENVDB_BLOSC if Blosc libraries cannot be found.

23 months agoBuild deps: Fixed TBB build with GCC 6 and newer, turning off dead store elimination.
Stefan Werner [Tue, 24 Apr 2018 11:23:52 +0000 (13:23 +0200)]
Build deps: Fixed TBB build with GCC 6 and newer, turning off dead store elimination.

23 months agoBuild deps: Fixed capitalisation of CMake modules path for OpenVDB. Before, OpenVDB...
Stefan Werner [Tue, 24 Apr 2018 08:28:38 +0000 (10:28 +0200)]
Build deps: Fixed capitalisation of CMake modules path for OpenVDB. Before, OpenVDB would always build without BLOSC and TBB support on case-sensitive file systems.

23 months agoBLI_math: avoid assert with non-finite numbers
Campbell Barton [Mon, 23 Apr 2018 19:07:27 +0000 (21:07 +0200)]
BLI_math: avoid assert with non-finite numbers

23 months agoDepsgraph: Add relation flag to avoid flush across it
Sergey Sharybin [Mon, 23 Apr 2018 14:42:37 +0000 (16:42 +0200)]
Depsgraph: Add relation flag to avoid flush across it

This way we can avoid re-evaluation of certain parts of datablock
when something unrelated has changed.

23 months agoDepsgraph: Fix missing update with animated curve path
Sergey Sharybin [Mon, 23 Apr 2018 12:53:54 +0000 (14:53 +0200)]
Depsgraph: Fix missing update with animated curve path

23 months agoDepsgraph: Cleanup, remove unused relation tag
Sergey Sharybin [Mon, 23 Apr 2018 12:34:56 +0000 (14:34 +0200)]
Depsgraph: Cleanup, remove unused relation tag

23 months agoCleanup: style
Campbell Barton [Mon, 23 Apr 2018 08:00:42 +0000 (10:00 +0200)]
Cleanup: style

23 months agoFix T54766: "Record With"-NLA "Push Down" discards Blend Mode, Extrapolation, and...
Joshua Leung [Mon, 23 Apr 2018 10:35:37 +0000 (12:35 +0200)]
Fix T54766: "Record With"-NLA "Push Down" discards Blend Mode, Extrapolation, and Influence

Applied similar fix to T54233 to get the "Record with NLA" feature working with
active action blending + influence settings. Extrapolation is explicitly ignored
though, as it shouldn't be used with this feature (i.e. it is already disabled
with the new strips and also on the animdata by default)

23 months agoDepsgraph: Add missing relations builder
Sergey Sharybin [Mon, 23 Apr 2018 07:33:33 +0000 (09:33 +0200)]
Depsgraph: Add missing relations builder

Was possible to miss some relations from being built
when parent object is linked to the scene graph indirectly.

23 months agoCleanup: UI naming
Campbell Barton [Sun, 22 Apr 2018 17:22:10 +0000 (19:22 +0200)]
Cleanup: UI naming

23 months agoCleanup: de-dup popup/pie menu RNA definition
Campbell Barton [Sun, 22 Apr 2018 08:49:45 +0000 (10:49 +0200)]
Cleanup: de-dup popup/pie menu RNA definition

Also rename pupmenu -> popmenu

23 months agoCleanup: variable naming
Campbell Barton [Sat, 21 Apr 2018 18:22:12 +0000 (20:22 +0200)]
Cleanup: variable naming

23 months agoBLI_bitmap: 2D triangle drawing function
Campbell Barton [Sat, 21 Apr 2018 16:34:34 +0000 (18:34 +0200)]
BLI_bitmap: 2D triangle drawing function

Matching polygon filling but no need for allocation or qsort.

23 months agoBLI math: clamped barycentric weight calculation
Campbell Barton [Sat, 21 Apr 2018 16:34:20 +0000 (18:34 +0200)]
BLI math: clamped barycentric weight calculation

23 months agoFix: D3160 fixed blednerplayer stub.s for unix
Gaia Clary [Fri, 20 Apr 2018 21:34:54 +0000 (23:34 +0200)]
Fix: D3160 fixed blednerplayer stub.s for unix

23 months agoCleanup (followup commit for D3160)
Gaia Clary [Fri, 20 Apr 2018 13:09:56 +0000 (15:09 +0200)]
Cleanup (followup commit for D3160)

Added some spaces to keep the eInsertKeyFlags enumeration proper

23 months agoFix: D3160 Propose to use proper typedefs to avoid confusion
Gaia Clary [Wed, 18 Apr 2018 16:21:27 +0000 (18:21 +0200)]
Fix: D3160 Propose to use proper typedefs to avoid confusion

Differential Revision:

23 months agoFix usage of lib filepath in previous own commit...
Bastien Montagne [Fri, 20 Apr 2018 09:00:12 +0000 (11:00 +0200)]
Fix usage of lib filepath in previous own commit...

23 months agoAdd debug tool to check validity of current file *before* saving.
Bastien Montagne [Wed, 18 Apr 2018 16:22:18 +0000 (18:22 +0200)]
Add debug tool to check validity of current file *before* saving.

It is hidden behind the --debug-io flag for now.

Idea is to try to catch broken libraries state in current Main before we
actually write the file on disk, should help catching and understanding
what happens in Spring corruption cases.

23 months agoVSE Effects: Wipe box: fix compilation errors
Aaron Carlisle [Thu, 19 Apr 2018 22:41:06 +0000 (18:41 -0400)]
VSE Effects: Wipe box: fix compilation errors

This is still broken I cant tell if it is the fact that the in_band
funtion does not work properally or an issue in the box algorithm, or

It seems like the calculation of the size of the box while roatated
needs to be fixed also.

23 months agoCleanup: make variable name English
Campbell Barton [Thu, 19 Apr 2018 16:10:51 +0000 (18:10 +0200)]
Cleanup: make variable name English

23 months agoCleanup: rename vlak -> poly
Campbell Barton [Thu, 19 Apr 2018 16:08:55 +0000 (18:08 +0200)]
Cleanup: rename vlak -> poly