Blender Git Commits

Blender Git "asset-engine--archived" branch commits.

Page: 70 / 79

February 19, 2015, 14:30 (GMT)
Merge branch 'master' into asset-experiments
February 18, 2015, 20:36 (GMT)
Big refactor of filelisting in filebrowser - decouple os/fs-related direntry from actual blender listing.

Main idea is that direntry had quite a bit of things already absolutely useless
in the mere 'file listing' context (image pointer, void 'data' pointer, etc.).

On the other end, to handle future asset stuff, we need *more* 'meta data' for our 'files'
(tags, variants, revisions...).

Further more, we need all this to be easily usable through RNA, i.e. we need it to
be defined in DNA.

So instead of trying to use direntry in DNA, mixing low-level system stuff like stat
where we do not want to see it, we define our own 'file' representation,
with only what we really need (who cares about chars or block or dev files in filebrowser?
we only need to know whether it's a regular file or a directory, period).

That way, low-level dirlisting remains clean, and we can easily extend our own
data as needed.

Note this new code works, does not crash (so far...) nor memleak, but it
needs quite a bit of work still, we are still storing useless stuff in direntry
(all those strings representing modes, size etc.!), and mem handling
during dir/lib listing is confusing at best (would like to use a memarena
or mempool here, but it's not that easy).
February 18, 2015, 18:30 (GMT)
Merge branch 'master' into asset-experiments
February 17, 2015, 14:37 (GMT)
Merge branch 'master' into asset-experiments
February 16, 2015, 15:21 (GMT)
Merge branch 'master' into asset-experiments
February 16, 2015, 13:54 (GMT)
Preview generation on Windows: attempt to fix mysterious error by using even more ID's names.

Passing around ID's themselves is not safe - they may change their mem addresses.

Yet, I had no issue on linux, but on win build this is still not enough,
have to use a super strange hack (add an 'import sys' line just before where error happens)
to get things running...
February 16, 2015, 13:01 (GMT)
Merge branch 'master' into asset-experiments
February 15, 2015, 15:54 (GMT)
Merge branch 'master' into asset-experiments

Conflicts:
source/blender/editors/space_file/file_draw.c
source/blender/editors/space_file/filelist.c
February 15, 2015, 14:28 (GMT)
Cleanup of ugly allocation stuff (cast of void pointer, not-so-safe sizeof()'s, etc.).
February 15, 2015, 14:10 (GMT)
Merge branch 'master' into asset-experiments
February 15, 2015, 09:39 (GMT)
Merge branch 'master' into asset-experiments
February 13, 2015, 21:28 (GMT)
Rework job multi-level listing - factorize even more and avoid recursion.

This is much cleaner than previous code...
February 13, 2015, 18:47 (GMT)
Merge branch 'master' into asset-experiments
February 12, 2015, 18:45 (GMT)
Merge branch 'master' into asset-experiments
February 12, 2015, 18:35 (GMT)
Merge branch 'master' into asset-experiments
February 12, 2015, 17:01 (GMT)
Cleanup.
February 12, 2015, 16:55 (GMT)
Merge branch 'master' into asset-experiments
February 12, 2015, 16:53 (GMT)
Add previews to scenes, and enhance batch preview generation.

Batch preview generation can now also generate 'internal' previews (materials, textures etc.),
as well as scene ones. Also, some basic Cycles handling is there now.
You can now chose which kind of data to generate previews for, and whether the files are
trusted or not (for py autorun and drivers).
And rendering happens in background again, issue was actually a bug in creator.c, fixed in master.
Main TODOs reamining here: OpenGL rendering, and find a way to prevent '.blend1' when
saving over (either as a new option of save op, or simply by removing those files in script?).

Added a batch cleanup of previews too.

Also, added path of files as their tooltip 'image' button in main filebrowser view,
quite useful with the 'recursive' option...
February 11, 2015, 16:32 (GMT)
Merge branch 'master' into asset-experiments
February 11, 2015, 10:18 (GMT)
Merge branch 'master' into asset-experiments

Conflicts:
source/blender/editors/space_file/space_file.c
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021