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-04-26Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, ↵Campbell Barton
modifiers, nodes)
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-02-14Code cleanup: duplicate headersCampbell Barton
2013-12-26correction to last commitCampbell Barton
2013-12-26Correct alloc string and comment in makesdnaCampbell Barton
2013-12-23Make makesdna capable of detecting 32bit alignment issues on 64bit platformSergey Sharybin
Summary: Just some extra comparison between native and 32bit structure length was needed. Reviewers: brecht, campbellbarton Reviewed By: brecht Differential Revision: http://developer.blender.org/D131
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-12-04Compiler Warnings: disallow 'long' in DNA, its not reliably 64bit (gcc only)Campbell Barton
2013-07-13correct bad allocation sizes, unwrap was over-allocating, makesdna was under ↵Campbell Barton
allocating.
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-03-23A major code update for making the DNA file specification of Freestyle settingsTamito Kajiyama
and RNA for it independent of the build flag for enabling Freestyle. Suggested by Sergey Sharybin through a code review of the branch. * Many #ifdef WITH_FREESTYLE blocks were removed to always have Freestyle-specific DNA file specification and RNA for it built in Blender. This will allow Freestyle setting survive even when a non-Freestyle build is used for loading and saving files. It is noted that operations are still conditionally built through #ifdef WITH_FREESTYLE blocks. * To this end, new blenkernel files BKE_freestyle.h and intern/freestyle.c have been added. All API functions in FRS_freestyle_config.h as well as some of those in FRS_freestyle.h were moved to the new files. Now the relocated API functions have BKE_ prefix instead of FRS_.
2013-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-01-27Merged changes in the trunk up to revision 54110.Tamito Kajiyama
Conflicts resolved: source/blender/blenfont/SConscript source/blender/blenkernel/intern/subsurf_ccg.c source/blender/makesdna/intern/makesdna.c source/blender/makesrna/intern/rna_scene.c
2013-01-23rigidbody: Add DNA/RNA/BKE infrastructure for the rigid body simSergej Reich
This is just the basic structure, the simulation isn't hooked up yet. Scenes get a pointer to a rigid body world that holds rigid body objects. Objects get a pointer to a rigdid body object. Both rigid body world and objects aren't used directly in the simulation and only hold information to create the actual physics objects. Physics objects are created when rigid body objects are validated. In order to keep blender and bullet objects in sync care has to be taken to either call appropriate set functions or flag objects for validation. Part of GSoC 2010 and 2012. Authors: Joshua Leung (aligorith), Sergej Reich (sergof)
2012-12-20Another big patch set by Bastien Montagne, thanks a lot!Tamito Kajiyama
* Made Freestyle optional (turned on by default). * Fix for missing bpath.c updates in the previous merge of trunk changes.
2012-12-19Merged changes in the trunk up to revision 53146.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend source/blender/blenkernel/CMakeLists.txt source/blender/blenlib/intern/bpath.c source/blender/blenloader/intern/readfile.c
2012-12-17patch [#33441] Remove unneeded strcpy()'s from makesdna.cCampbell Barton
2012-12-15avoid using strlen() for comparisons in for loops. for expanding whitespace ↵Campbell Barton
in the text editor and ui paste.
2012-11-12Merged changes in the trunk up to revision 52118.Tamito Kajiyama
Conflicts resolved: source/blender/makesrna/intern/rna_scene.c
2012-11-09style cleanup: indentationCampbell Barton
2012-10-29Merged changes in the trunk up to revision 51718.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/makesrna/intern/rna_scene.c release/datafiles/startup.blend
2012-10-23add un-subdivude as an optional method for the decimate modifier, gives more ↵Campbell Barton
even geometry & nicer results in some cases.
2012-10-22style cleanupCampbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-20Merged changes in the trunk up to revision 51448.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/CMakeLists.txt source/blender/blenloader/intern/readfile.c source/blender/editors/mesh/editmesh_tools.c source/blender/makesrna/intern/rna_main_api.c
2012-10-14style cleanupCampbell Barton
2012-10-07style cleanup: if();Campbell Barton
2012-10-07Merged changes in the trunk up to revision 51126.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/windowmanager/WM_types.h
2012-10-06disable padding warning for DNA, gave problems with struct bounds padding ↵Campbell Barton
which DNA ignores. tag operator callbacks as needing their return values used. These are not directly called in many places so the inconvenience is minimal.
2012-10-04use GCC's -Wpadded on DNA files, gives more useful warnings then makesdna.Campbell Barton
2012-09-15Merged changes in the trunk up to revision 50607.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c
2012-08-29code cleanup: replace term 'alpha' with '64' in makesdna, this was historic ↵Campbell Barton
that dec-alpha was the first 64bit system blender was ported for, but now its not helpful to call it this way.
2012-08-02Merged changes in the trunk up to revision 49478.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/intern/library.c source/blender/blenloader/intern/readfile.c source/blender/editors/interface/resources.c source/blender/makesrna/intern/rna_scene.c
2012-07-29style cleanupCampbell Barton
2012-07-14Merged changes in the trunk up to revision 48893.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/CMakeLists.txt source/blender/blenloader/intern/readfile.c source/blender/editors/animation/anim_filter.c source/blender/makesrna/RNA_enum_types.h
2012-07-08style cleanupCampbell Barton
2012-06-24Merged changes in the trunk up to revision 48227.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/editors/space_file/filelist.c
2012-06-21Fixes for 8vytes scalar types used in DNA (int64 and double)Sergey Sharybin
- makesdna wasn't checking whether such scalars are aligned to 8 bytes. Now it should be handled correct. - Some scalars in Object structure weren't 8 bytes aligned, which lead to some incorrectly loaded files. Fixed by adding void *pad. It's a bit tricky part of patch, but can't see clearer way to make alignment correct Usually ints/chars were used for padding, but in this case there are some leading pointer properties before int64 properties and using pointer as a padding resolves alignment on both 32 and 64 bit platforms. Using pointers as padding weren't needed before, because all types were correctly aligned independent of whether pointers are 4 or 8 bytes. This fixes #31774: Empty offset Y parameter is resetting
2012-06-11Merged changes in the trunk up to revision 47700.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/BKE_main.h source/blender/blenkernel/CMakeLists.txt source/blender/blenkernel/intern/library.c source/blender/blenloader/intern/readfile.c source/blender/blenloader/intern/writefile.c source/blender/editors/interface/resources.c source/blender/makesdna/DNA_ID.h source/blender/makesdna/DNA_action_types.h source/blender/makesdna/intern/makesdna.c source/blender/makesrna/SConscript source/blender/makesrna/intern/rna_internal.h source/blender/makesrna/intern/rna_main.c source/blender/makesrna/intern/rna_main_api.c source/blender/windowmanager/WM_types.h
2012-06-04mask mode for clip editor developed by Sergey Sharybin, Pete Larabell and ↵Campbell Barton
myself. see: http://wiki.blender.org/index.php/User:Nazg-gul/MaskEditor note - mask editing tools need continued development, feather option is not working 100%
2012-06-04Merged changes in the trunk up to revision 47381.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c
2012-05-27style cleanupCampbell Barton
2012-05-27Merged changes in the trunk up to revision 47056.Tamito Kajiyama
Conflicts resolved: source/blender/bmesh/bmesh_class.h source/blender/bmesh/intern/bmesh_construct.c source/blender/editors/interface/resources.c source/blender/render/intern/source/convertblender.c
2012-05-25style cleanupCampbell Barton
2012-05-21code cleanup: spellingCampbell Barton
2012-05-19Merged changes in the trunk up to revision 46787.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/intern/idcode.c source/blender/blenloader/intern/readfile.c source/blender/editors/include/ED_anim_api.h source/blender/editors/include/UI_resources.h source/blender/makesrna/intern/rna_main.c
2012-05-17style cleanup: block commentsCampbell Barton
2012-05-16Spell check fix (lenght -> length)Bastien Montagne
Note: two remains, in comments in extern/bullet2/src/LinearMath/btVector3.h and extern/libmv/libmv/image/tuple.h.
2012-05-12style cleanup: whitespace, bli & makesdnaCampbell Barton