Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1229 / 8462

October 4, 2020, 18:11 (GMT)
Fixing USDImporterContext forward declaration.
October 4, 2020, 16:04 (GMT)
Cleanup: refactor where_is_temp

Functionality was hard to follow as the meaning of fullname
depended on basename being NULL or not.

- where_is_temp is now only responsible for finding the temp directory.
- Split out tempdir_session_create into it's own function
that wraps mkdtemp.
- Rename basename to tempdir, fullname to tempdir_session.
October 4, 2020, 14:56 (GMT)
Cleanup: remove outdated comment

Should have been removed in b36a05bb7e794335e3415594c41d3986cdc815e8,
when Python was started after reading the preferences.
October 4, 2020, 14:29 (GMT)
Preferences: use the users temp directory in background mode

This choice was made when preferences were not read in background mode,
so the temp dir needed to be initialized with something.
See bc9848f7e67c3e695403179f8bcdb78b0e5764a3.

Now preferences are always read there is no reason to ignore this
particular preference in background mode.

Anyone wanting to do background renders that ignore their preferences
can run with factory startup.
October 4, 2020, 13:55 (GMT)
Cleanup: BKE_appdir store static values in a struct, clarify names

Avoid multiple static variables with odd names,
instead keep them all in one struct, expand their names for clarity.
October 4, 2020, 11:23 (GMT)
Fix error in last commit printing NULL strings

While this works with GCC, printing NULL strings is undefined behavior.
October 4, 2020, 11:15 (GMT)
BKE_appdir: log details about path lookups

These were printf's, disabled by a define that could be uncommented.

Use logging since this can be useful when investigating any issue
with paths not being found at the expected location.

Without this any problem finding app-templates, Python's installation,
icons ... etc are quite difficult to troubleshoot especially on systems
without access to system-call tracing.

To use this run:
blender --log "bke.appdir" --log-level 3
October 4, 2020, 11:15 (GMT)
Fix color-management ignoring the data-path command line value

Initialize ImBuf (and color-management) after passing arguments
that set environment variables such as `--env-system-datapath`

This also fixes a bug where BKE_appdir logging failed since it was
called before the `--log` argument was passed.

Add asserts so this doesn't happen again.
October 4, 2020, 11:12 (GMT)
Cleanup: clarify names in appdir

- ver -> version.
- env -> env_path.
Revision ceeb5af by Joseph Eagar
October 4, 2020, 11:12 (GMT)
Merge branch 'master' of git://git.blender.org/blender
Revision 3f59180 by Joseph Eagar
October 4, 2020, 11:11 (GMT)
uncommit
Revision b82b3ad by Joseph Eagar
October 4, 2020, 11:11 (GMT)
commit patch
October 4, 2020, 07:45 (GMT)
LineArt: Fix compiler warnings for windows.
October 4, 2020, 04:41 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp

# Conflicts:
# source/blender/makesrna/intern/rna_gpencil_modifier.c
October 4, 2020, 03:24 (GMT)
Alembic import: add an option to force the addition of a modifier on
every object

This way we can read the full file from Cycles.
October 4, 2020, 03:14 (GMT)
add procedurals to update stats
October 3, 2020, 22:33 (GMT)
Cleanup: BKE_appdir left paths set even when not found

Internally appdir functions would test if a path exists,
returning false if it doesn't, leaving the string set instead
of clearing it.

This is error prone as invalid paths could be used accidentally.

Since BKE_appdir_folder_id_user_notest & BKE_appdir_folder_id_version
depend on this, add a 'check_is_dir' argument so the path can be used
even when the directory can't be found.
October 3, 2020, 21:04 (GMT)
Invoking copy_zup_from_yup() function.
October 3, 2020, 20:43 (GMT)
Coding convention fixes.
October 3, 2020, 20:15 (GMT)
Cleanup: Remove duplicated View2D pan polling logic

Same as 21fc4ae20692, but for view panning this time. Also had to set the poll
callbacks still in this case.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021