Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1383 / 8462

August 10, 2020, 06:11 (GMT)
Fix T79346: VSE custom proxy file is broken

In last set of refactoring patches, code implementing this feature
has been accidentally removed.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8449
August 10, 2020, 05:54 (GMT)
Remove Video Proxy Resolution limitation

Height and width of video proxies was limited to multiples of 8 with
comment "JPEG requires this".

I could not find any resource that would confirm this to be the case
with FFMPEG and MJPEG codec.

I have looked in:
https://ffmpeg.org/ffmpeg-all.html
https://ffmpeg.org/ffmpeg-formats.html
https://ffmpeg.org/doxygen/trunk/structAVCodecContext.html

Reviewed By: ISS, sergey, sybren

Differential Revision: https://developer.blender.org/D6507
August 9, 2020, 20:16 (GMT)
Fix the nearest point containing cell when nearest is inside a tri.
August 9, 2020, 17:38 (GMT)
Remove degenerate triangles before intersecting.
August 9, 2020, 17:23 (GMT)
GPencil: Missing rename in previous commit
August 9, 2020, 17:17 (GMT)
GPencil: Rename SVG export files

August 9, 2020, 15:45 (GMT)
GPencil: Support unicode paths in Windows for SVG export

Also some small cleaunp.
August 9, 2020, 14:22 (GMT)
Move index offset from parsing to Object creation

The only place where the information needed about how many vertices
have been occupied by other objects is `mloop->v` since `v` has to
be in the range from zero to total vertices _in a_ mesh.

All other indices (edge, UV, normal) work best when they're parsed
the way they're written and the corresponding data from the global
list is read directly.

So instead of modifying every index just to keep `mloop->v` happy,
use a `Map<int, int>` for storing vertex indices. This reduces chances
of error greatly and avoid "indices to indices to coordinates".

`Vector` would've been very slow it being unsorted & lookups being done
for _all_ `mloop`s. `Map` gives no drop in performance.

UV vertices from `Geometry` have been removed since `FaceCorner`s store
a direct index indexing into the Global list of UV coordinates.
August 9, 2020, 13:56 (GMT)
LineArt: Memory sync fixes for animation rendering.
August 9, 2020, 12:07 (GMT)
Fix T79246 GPUShader: compile error on AWS Elastic Graphics
August 9, 2020, 12:02 (GMT)
Fix wrong material exporter assert added recently.

Since Alpha in RGBA is not written to the MTL file, callers
use array of length 3.
August 9, 2020, 11:48 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp

# Conflicts:
# source/blender/blenkernel/intern/scene.c
# source/blender/makesdna/DNA_gpencil_modifier_types.h
August 9, 2020, 11:32 (GMT)
Use #pragma in newboolean branch.
August 9, 2020, 11:24 (GMT)
Merge branch 'master' into newboolean
August 9, 2020, 11:14 (GMT)
Cleanup: stop some warnings.
August 9, 2020, 00:04 (GMT)
msvc: Fix build error with msvc 2017

`using blender;` Was required to get the Vector type.
August 8, 2020, 21:23 (GMT)
Fixed bug in understanding of nesting of connected components.
August 8, 2020, 19:42 (GMT)
Use std::string_view for string splitting.

While being slightly more error prone, this change
gives a speedup of 1.9 s vs 1.2 s on a 23.3 MB 8-level
subdivided cube OBJ file. [1] The biggest time sink earlier
was splitting strings into smaller ones. Now it is `std::stof`
about which nothing much can be done.

`StringRef` has been completely removed to avoid
casts between `std::string_view::size_type` & `int64_t`
that `StringRef::size()` gives. Also, `find_{first/last}_{not/}_of`
and `substr` have been used a lot, which are missing in `StrinRef`.

The change also removes `rn` carriage return line breaks
while cleaning up the string.

Use `blender::StringRefNull` where null-terminated strings
are present.

`fprintf` has been replaced with `std::cerr` since
`std::string_view::data()` may give a pointer to a non
null terminated buffer. Also, error logging is not performance
-critical. [2]

[1] See week 7 reports for breakdown on the older timings.
https://wiki.blender.org/wiki/User:Ankitm/GSoC_2020_Daily_Reports#Week_7
[2] https://en.cppreference.com/w/cpp/string/basic_string_view/data
August 8, 2020, 19:28 (GMT)
Added test file for Particle Instance and some minor fixes
August 8, 2020, 16:52 (GMT)
GPencil: Apply GSoC changes

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021