c7cfee04c4
Logging: setting log level wasn't working
2018-05-04 08:00:22 +02:00
f3c5b0394f
IDProp API: expose repr utility function
...
Useful for logging properties passed to operators.
2018-05-04 07:29:05 +02:00
16253285ff
BKE: BVHtree: make bvhtree_from_mesh_edges a static function.
...
This will help us have more control over bvhtrees that are cached.
2018-05-03 18:33:16 -03:00
133dadcdee
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.
2018-05-03 18:19:36 -03:00
7915cc7ddb
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.
2018-05-03 15:52:09 -03:00
98ecdc4896
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.
2018-05-03 15:50:48 -03:00
0f217de403
Fix T54927: BMesh Py error w/ select history slice
2018-05-03 20:23:32 +02:00
38b6f8e143
Cleanup: correct solidify logic
...
Code for side normals isn't executing at the moment,
so not essential, but better correct it.
2018-05-03 19:48:28 +02:00
5e225ddb21
Cleanup: parentheses warning
2018-05-03 19:37:20 +02:00
ac19483e63
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.
2018-05-03 14:26:39 -03:00
a5d0597b92
Fix tooltip for constraints' subtarget.
...
Thanks @aligorith for the head-up.
2018-05-03 16:00:34 +02:00
53c43259ad
Cleanup: factorize RNA constraint targets definition.
...
No expected changes in behavior from that commit!
2018-05-03 15:00:12 +02:00
0d6ddd0a1d
Cleanup: split out extrude spin/screw
...
Since these will have their own manipulators,
its more convenient to keep them separate.
2018-05-03 08:20:29 +02:00
522bee3fc8
Refactoring: bvhutils: Use a function that gets the bvhtree through an identifier type.
...
Reviewed By: @campbellbarton
Differential Revision: https://developer.blender.org/D3192
2018-05-01 10:03:28 -03:00
2e98524b58
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.
2018-04-30 22:09:23 +02:00
Dalai Felinto
32c4158047
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.
2018-04-30 21:42:16 +02:00
188c4a22c9
Cleanup: de-duplicate paint access from object
2018-04-30 18:58:43 +02:00
Julian Eisel
e76a65e359
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.
2018-04-30 15:42:29 +02:00
128506eeb1
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`
2018-04-29 18:00:45 -04:00
16c05161e7
Cycles: Cleanup: Remove double semicolons
2018-04-29 09:28:41 +02:00
60f4cb24da
Fix vertex paint alpha brush setting color black
2018-04-28 14:47:53 +02:00
ffda096413
Cleanup: meaningful names for color blending
2018-04-28 14:45:10 +02:00
57405054b2
Fix T54836: Select sharp edges doesn't flush to faces
2018-04-26 14:32:35 +02:00
Julian Eisel
3c7500ca71
Cleanup: Use enums for View2D value defines
...
Makes the file much less cluttered and more structured.
Also made some whitespace tweaks.
2018-04-26 14:07:03 +02:00
d37dcc4880
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)
2018-04-26 11:18:59 +02:00
f69feb4957
UI: optionally pass icon size to widget_draw_icon
...
No functional changes.
2018-04-25 17:26:45 +02:00
89bcc80c25
Library: Add assert to catch unsupported copy flags combination
...
Thanks Bastien for review!
2018-04-25 16:59:35 +02:00
331e97bcf3
Depsgraph: Fix missing relations in array modifier
...
Found by Dr. Sybren while working on modifiers port.
2018-04-25 16:34:01 +02:00
13b6867d1f
CDDM: correct (disabled) logic in merge verts
2018-04-25 14:53:44 +02:00
53dc251fd3
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".
2018-04-25 12:54:27 +02:00
d7d20b483a
Revert "Fix (unreported) broken 'get system path' in some cases."
...
This reverts commit f1bc0aedde .
2018-04-25 12:48:51 +02:00
26dab9c2fe
Buildbot: Attempt to link against Blosc statically
...
Was broken by f1e6838376 .
2018-04-25 12:27:35 +02:00
9a7f963a02
Cleanup: comments
2018-04-25 12:25:47 +02:00
f1bc0aedde
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
folder.
* 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...
2018-04-25 10:37:36 +02:00
Dalai Felinto
5285de16f3
Fix string comparison in GNUMakefile for linux systems
2018-04-25 09:30:55 +02:00
bb92d9a946
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.
2018-04-24 09:48:14 -03:00
Stefan Werner
f1e6838376
Build: Added explicit search for Blosc in CMake files. Unix build will now disable WITH_OPENVDB_BLOSC if Blosc libraries cannot be found.
2018-04-24 13:26:54 +02:00
Stefan Werner
0ab30f9e39
Build deps: Fixed TBB build with GCC 6 and newer, turning off dead store elimination.
2018-04-24 13:23:52 +02:00
Stefan Werner
dac8b08f4c
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.
2018-04-24 10:28:38 +02:00
92f36586e3
BLI_math: avoid assert with non-finite numbers
2018-04-23 21:09:01 +02:00
53d69e6d04
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.
2018-04-23 16:42:37 +02:00
0ca7a78f20
Depsgraph: Fix missing update with animated curve path
2018-04-23 14:53:54 +02:00
41cf2d9042
Depsgraph: Cleanup, remove unused relation tag
2018-04-23 14:34:56 +02:00
b14979f91f
Cleanup: style
2018-04-23 12:53:45 +02:00
8264b772f5
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)
2018-04-23 12:35:37 +02:00
fa7e19bca4
Depsgraph: Add missing relations builder
...
Was possible to miss some relations from being built
when parent object is linked to the scene graph indirectly.
2018-04-23 09:33:33 +02:00
89ab591345
Cleanup: UI naming
2018-04-22 19:22:10 +02:00
420e379e99
Cleanup: de-dup popup/pie menu RNA definition
...
Also rename pupmenu -> popmenu
2018-04-22 10:49:45 +02:00
46a9038f60
Cleanup: variable naming
2018-04-21 20:22:12 +02:00
1e9fb355bf
BLI_bitmap: 2D triangle drawing function
...
Matching polygon filling but no need for allocation or qsort.
2018-04-21 18:34:34 +02:00