Campbell Barton
52824f008e
Cleanup: redundant counter
2018-12-07 17:06:21 +11:00
Campbell Barton
d6d76759f8
Fix error in Main cleanup
...
See 481cdb08ed
2018-12-07 15:42:34 +11:00
Brecht Van Lommel
27e77d4f9c
Fix Alembic indexed UVs being merged for different vertices.
...
Other software uses this to define UV islands, so we can't just merge
any UVs with the same coordinate. They have to share a vertex too.
Contributed by Maxime Robinot, with changes by me.
Differential Revision: https://developer.blender.org/D4006
2018-12-07 00:19:53 +01:00
Campbell Barton
d24cfa329b
Fix T58832: Spin tool creates duplicate faces
2018-12-06 14:52:55 +11:00
Campbell Barton
f6c615a8c2
Fix T58819: Weight paint gradient crash
2018-12-06 11:22:00 +11:00
Campbell Barton
ad2e68b826
Cleanup: no need to access final mesh
2018-12-06 08:37:09 +11:00
Gaia Clary
3552731551
Fix (devtalk 4053): Collada build with older cmake versions broken
2018-12-05 22:04:10 +01:00
Gaia Clary
da4991fcae
fix: Collada: remove Class from method definition in header file
2018-12-05 20:28:23 +01:00
Campbell Barton
45c11c1a1b
Fix T49624: Fly uses camera settings outside camera view
2018-12-05 08:36:37 +11:00
Gaia Clary
22bba02bc8
fix T58568: used wrong case in variable name
2018-12-04 20:28:20 +01:00
Gaia Clary
10c50d7dbf
fix T58568 build errors when using collada 1.6.68 or newer
2018-12-04 19:11:57 +01:00
Sergey Sharybin
3f31ec8398
Cleanup: Spelling
2018-12-04 11:43:53 +01:00
Campbell Barton
6bb825e083
Fix T54580: Pointer buttons skip undo push
2018-12-03 18:43:33 +11:00
Campbell Barton
be2e549111
Use scene active object for sculptmode enter/exit calls
...
Match logic in previous commit.
2018-12-03 18:00:20 +11:00
Campbell Barton
f32dfd0819
Fix T56331: Undo crash w/ sculpt on hidden layer
2018-12-03 17:42:26 +11:00
Campbell Barton
335e1b507b
Cleanup: BKE b-bone API naming
...
Use BKE_pchan_bbone prefix.
2018-12-02 14:29:54 +11:00
Campbell Barton
c00e1f68e9
Cleanup: BKE_effect.h naming
2018-12-02 14:14:51 +11:00
Campbell Barton
a9bd788348
Cleanup: style
2018-12-01 08:15:25 +11:00
Campbell Barton
530e567578
Revert "3D View: locked camera was using the original view offset"
...
This reverts commit 3f31c28a02 .
Gives issues zooming, could be resolved but it mostly worked OK before,
and it's not a priority to spend time on, so leave as is for now.
2018-11-30 19:01:06 +11:00
Campbell Barton
3f31c28a02
3D View: locked camera was using the original view offset
...
Now used the original dist instead, since using the distance between
the camera and the views offset may seem random from the users POV.
This addresses strange behavior noticed in T56934.
2018-11-30 18:15:06 +11:00
Campbell Barton
6429e6c91e
Cleanup: ensure '_END' macros end with a semicolon
...
Missing these breaks auto-indent for editors that don't expand macros.
2018-11-30 15:35:15 +11:00
Campbell Barton
3612ce5579
Cleanup: name macros w/ matching BEGIN/END
2018-11-30 15:22:01 +11:00
Campbell Barton
8c85f1316c
Cleanup: name macros w/ matching BEGIN/END
2018-11-30 15:08:47 +11:00
Campbell Barton
bae188bf46
Cleanup: duplicate include
2018-11-30 14:23:13 +11:00
Campbell Barton
0b044a4ab2
Cleanup: style
2018-11-30 14:23:10 +11:00
Campbell Barton
dd8469608b
Cleanup: unused return arg
2018-11-30 13:21:12 +11:00
Campbell Barton
2089feeb1b
Fix leak in CPU brand check
2018-11-29 12:52:39 +11:00
Bastien Montagne
c16321cb9d
Fix building gtests and bplayer after recent NumaAPI addition.
...
Seriously... like, seriously...
2018-11-28 16:50:02 +01:00
Sergey Sharybin
ce927e15e0
Tweaks for threading schedule for Threadripper2 and EPYC
...
The idea is to make main thread and job threads to be scheduled
on CPU dies which has direct access to memory (those are NUMA
nodes 0 and 2).
We also do this for new EPYC CPUs since their NUMA nodes 1 and 3
do have access but only to a higher range DDR slots. By preferring
nodes 0 and 2 on EPYC we make it so users with partially filled
DDR slots has fast memory access.
One thing which is not really solved yet is localization of
memory allocation: we do not guarantee that memory is allocated
on the closest to the NUMA node DDR slot and hope that memory
manager of OS is acting in favor of us.
2018-11-28 14:41:22 +01:00
Sergey Sharybin
b3e2c69416
Add utility function to query CPU brand string
2018-11-28 14:35:26 +01:00
Campbell Barton
9a5df92c1b
Fix T56872: Edge slide gives invalid normals
...
Add the ability to skip overwriting normals.
2018-11-27 11:40:32 +11:00
Brecht Van Lommel
487af39c99
Sequencer: remove unnecessary limit on transform rotation.
2018-11-24 23:43:03 +01:00
Campbell Barton
b348d1ac62
Cleanup: remove unused file
2018-11-25 08:05:42 +11:00
Campbell Barton
c66570f519
Fix T57989: File loaded as startup
...
The file contents was used to check if the file was a startup file.
Now pass in an argument from startup loading code instead.
2018-11-22 15:06:14 +11:00
Bastien Montagne
ec851efda9
Fix T57923: Freeze in mesh vnors computation code with some degenerated geometry.
...
Second part of the fix: do not try at all to compute normals in degenerated
geometry. Just loss of time and potential issues later with weird
invalid computed values.
2018-11-20 17:54:48 +01:00
Bastien Montagne
c9c6433a59
Fix T57923: Freeze in mesh vnors computation code with some degenerated geometry.
...
Fix first part of it, the freeze itself being caused by float NAN values
never comparing equal to anything, not even themselves.
2018-11-20 17:52:21 +01:00
Sergey Sharybin
01e8e7dc6d
Task scheduler: Optimize parallel loop over lists
...
The goal is to address performance regression when going from
few threads to 10s of threads. On a systems with more than 32
CPU threads the benefit of threaded loop was actually harmful.
There are following tweaks now:
- The chunk size is adaptive for the number of threads, which
minimizes scheduling overhead.
- The number of tasks is adaptive to the list size and chunk
size.
Here comes performance comparison on the production shot:
Number of threads DEG time before DEG time after
44 0.09 0.02
32 0.055 0.025
16 0.025 0.025
8 0.035 0.033
2018-11-20 14:58:17 +01:00
Sybren A. Stüvel
9bc2570e2a
Removed superfluous NULL check
2018-11-20 10:46:17 +01:00
Sybren A. Stüvel
0540d2b65c
Added MovieClip.fps read-only property to RNA
...
This makes it possible for a Python script that loads a MovieClip into the
clip editor to also change the scene frame rate to match.
2018-11-20 10:32:24 +01:00
Roel Koster
f74fa98e53
Linux: list GVFS mount points
2018-11-19 08:53:19 +11:00
Sybren A. Stüvel
ec20d311da
Call PRE_VIEW and POST_VIEW draw callbacks in movie clip editor
2018-11-16 13:59:16 +01:00
Sergey Sharybin
74fdf68a41
Cleanup: Comments
2018-11-15 16:28:07 +01:00
Campbell Barton
d7f55c4ff5
Cleanup: comment block tabs
2018-11-14 17:10:56 +11:00
Campbell Barton
b97a2c3688
Cleanup: naming for paint modes
...
- Rename ePaint* -> PAINT_MODE_*.
- Use PAINT_OVERLAY_ prefix for eOverlayControlFlags.
2018-11-14 11:20:08 +11:00
Campbell Barton
c1d29ea783
WM: enforce descriptions being NULL or defined
...
Without this bugs slip through that don't null check the descriptions
since many were set to empty strings.
2018-11-14 09:47:23 +11:00
Campbell Barton
a5a86f3921
Cleanup: python doc-strings
...
Indentation & trailing space.
2018-11-14 09:26:53 +11:00
Campbell Barton
fe566a30f3
Cleanup: use lowercase 2d/3d in function names
2018-11-13 14:21:42 +11:00
Campbell Barton
89c2ff31d9
PyAPI: update keyword list
2018-11-11 09:37:26 +11:00
Campbell Barton
3756f920f4
BMesh: backport minor changes from 2.8
2018-11-10 19:56:02 +11:00
Campbell Barton
7efac2b0b0
PyAPI: add imports arg to BPY_execute_string
...
Allows for avoiding `__import__` in expressions,
was already supported for BPY_execute_string_as_* API calls.
2018-11-10 10:55:04 +11:00