Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-06-06Code cleanup: remove redundant void*->int->bool cast on NULL pointerCampbell Barton
2014-05-01Code cleanup: replace long long with int64_t & doxy formatting.Campbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, ↵Campbell Barton
modifiers, nodes)
2014-01-20Fix for incorrect use of DNA_struct_find_nrCampbell Barton
Patch T38290 by ldo (Lawrence D'Oliveiro)
2013-12-15Minor optimization for strlen and memcpy calls for reading blend filesSv. Lockal
Summary: This commit removes ~10000 strlen calls and ~100000 memcpy calls in blender (profiled with blender --background), ~10000 memcpy calls in makesdna. There is no need to create null-terminated strings for atoi, because it converts only the initial portion of the string anyway. Also it was noticed that DNA_elem_array_size and arraysize functions work only with full strings, so there is no point to calculate strlen. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: http://developer.blender.org/D105
2013-08-24ghash: reserve size when its known or can be guessed close enough.Campbell Barton
also avoid allocs per node in pbvh_bmesh_node_limit_ensure()
2013-03-17New feature:Ton Roosendaal
Automatic switching for drawing pixel buffers via glDrawPixels or using GPU textures It works with a User Preference limit, in megapixels, to define whether to use GPU or direct pixel drawing. Default is now initialized to 10 MP (4k buffers). Especially for zooming out (draw smaller) texture drawing is much smaller. Also Nvidia cards typically draw much faster with textures in general. Added to node backdrop first now, the other editors follow in a next commit. For coders: added new DNA function to initialize new struct variables, so you don't have to sub-version files anymore. DNA_struct_elem_find(fd->filesdna, "structname", "typename", "varname") "filesdna" is the sdna description of the current file being versioned.
2013-02-22Workaround for compilation error introduced in r54755Sergey Sharybin
Scons used to fail because of couple of reasons: - CMake does have WITH_DNA_GHASH enabled, Scons not Which is a good question why?! - This makes Cmake including BLI_utildefines in dna_genfile.c, but scons missed this include - This damn "bool" thing requires BLI_utildefines And last question here is why would we want to use bool here =\ It's just always ends up in headache without any visible benefit of using it. Well, at least now svn shall be compilable again..
2013-02-22patch [#34103] Add explanatory comments to dna_genfile.[ch]Campbell Barton
from Lawrence D'Oliveiro (ldo)
2012-10-22style cleanupCampbell Barton
2012-10-21code cleanup: spellingCampbell Barton
2012-07-17code cleanup: spellingCampbell Barton
2012-06-27style cleanupCampbell Barton
2012-05-27style cleanupCampbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-16Code cleanup: simplify standard GHash creation.Nicholas Bishop
Added four new functions as shortcuts to creating GHashes that use the standard ptr/str/int/pair hash and compare functions. GHash *BLI_ghash_ptr_new(const char *info); GHash *BLI_ghash_str_new(const char *info); GHash *BLI_ghash_int_new(const char *info); GHash *BLI_ghash_pair_new(const char *info); Replaced almost all occurrences of BLI_ghash_new() with one of the above functions.
2012-05-12style cleanup: whitespace, bli & makesdnaCampbell Barton
2012-04-30code cleanup: header cleanupCampbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-01Spelling CleanupCampbell Barton
2011-12-26svn merge ^/trunk/blender -r42839:42871Campbell Barton
2011-12-24replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.Campbell Barton
2011-12-24change customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh ↵Campbell Barton
branch has run out of bits
2011-12-23svn merge ^/trunk/blender -r42778:42839Campbell Barton
2011-12-23add DNA support for int64_t. nothing uses this currently.Campbell Barton
2011-12-23DNA genfile - de-duplicate some checks and replace magic type numbers with ↵Campbell Barton
an enum
2011-12-02svn merge ^/trunk/blender -r42303:42329Campbell Barton
2011-12-01- remove redundant line in makesdna pointed out by 'troubled' in IRCCampbell Barton
- comment remove unused mesh edge flag.
2011-11-20Various typo cleanups, remove unnecessary code etc, found during recent work ↵Andrew Wiggin
and separated to a cleanup change
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-09svn merge ^/trunk/blender -r40720:40872Campbell Barton
2011-08-20use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel ↵Campbell Barton
lite, will also speedup undo. note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-06fix [#26803] Libs paths are case sensitive in windowsCampbell Barton
use case insensitive path comparison on windows: BLI_path_cmp
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-02-25doxygen: small fixes and tag addingNathan Letwory
2011-02-01Script to test import operators, so a single command can execute an operator ↵Campbell Barton
on all files in a directory and optionally save out blend files for inspection. This comes in handy for testing importers against 100's of files, quickly showing breakages and easier to setup then unit tests. Example usage: blender.bin --background --python source/tests/batch_import.py -- \ --operator="bpy.ops.import_scene.obj" \ --path="/data/testfiles/obj" \ --match="*.obj" \ --start=0 --end=50 \ --save_path="/tmp/test" Also found my name was spelt wrong in some places :)
2011-01-05Fixing bugs in future: Ton Roosendaal
DNA reconstruct now terminates strings, when the new string in a file is longer than in current definition. This will enable a safer ID and other name lengthening, keeping at least some forward compitability.
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-07-25from Luca's recent commit noticed there are more typo's: lenght -> lengthCampbell Barton
2010-07-17spelling correction: alredy --> alreadyCampbell Barton
2010-02-14Avoid a DNA parsing bug that would parse "float gravity [3];" as twoBrecht Van Lommel
struct members "gravity" and "[3]". Now it throws an error in this case, safer than trying to fix the parsing code. Also patches the old DNA of ClothSimSettings which had this problem .. very ugly code. Fixes #20330: cloth sim settings getting corrupted when read from 2.49.
2010-02-12correct fsf addressCampbell Barton
2009-07-092.5Ton Roosendaal
Bad bad DNA errors! People should really check on warning prints for compiling dna dir... - SpaceFile: ListBase* prev; <- dna doesnt recognize this - wmEvent: const variables were not supported yet. The first I fixed, 2nd I added support for in makesdna. Note that files saved between tuesday july 7 and now can be corrupted!