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
2012-05-05code cleanup: BKE_scene api naming.Campbell Barton
also stop numpy from being found in /usr/include with cmake.
2012-05-05code cleanup: function naming for BLI functions.Campbell Barton
2012-04-30Patch [#30681] Improved Display of Header Statistics by Harley Acheson ↵Thomas Dinges
(harley), thanks! * This patch changes the header statistics to something more meaningful * Removed the blender.org string, version info is sufficient + not all Blender versions come directly from blender.org * Use names like Faces, rather than abbreviations. * Show Verts, Edges and Faces, independent of the current selection method in edit mode. * Added TriCount into the header. * Small change to the patch by myself, added a "v" in front of the version number.
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-07code cleanup: no functional changesCampbell Barton
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead. - quiet warnings in editmesh_slide.c - cleanup comments in bmesh and some other minor comment additions.
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-30Added new command-line arguments --debug-ffmpeg and --debug-libmv toSergey Sharybin
be able to see debug prints coming from FFmpeg or libmv independently of general blender debug messages.
2012-03-26fix [#30653] Wrong image at UV/Image Editor windowCampbell Barton
render results would be displayed on loading new files if the scene names matches, now free render-results so as not to display stale data - also saves some memory.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-20Adds support for utf paths on Windows.Alexander Kuznetsov
Not all file formats/calls are supported yet. It will be expended. Please from now on use BLI_fopen, BLI_* for file manipulations. For non-windows systems BLI_fopen just calls fopen. For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-18spelling cleanupCampbell Barton
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-05use (const char*) rather than (char*) where possible.Campbell Barton
also removed some unused function definitons.
2011-11-01added path traversal flag - BPATH_TRAVERSE_SKIP_MULTIFILE,Campbell Barton
so path manipulation functions dont run multiple times on the same path in the case of sequence strips where the one directory is used as the base for many images.
2011-10-27- remove bpath iterator and replace all uses with visitor.Campbell Barton
- added flag to optionally receive all paths as absolute.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22header cleanup and typo'sCampbell Barton
2011-10-21Code cleanup: don't use btempdir/bprogdir/bprogname globals anymore, but wrapBrecht Van Lommel
in BLI_ functions.
2011-10-10header cleanup (no functional changes)Campbell Barton
2011-09-26replace strncpy with BLI_strncpy, in some cases strncpy was being misused ↵Campbell Barton
since it doesnt ensure \0 termination. also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-22comment some unused vars / assignments.Campbell Barton
2011-09-20tag & comment unused vars with /* UNUSED */Campbell Barton
2011-09-19cleanup endian handlingCampbell Barton
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons. - ENDIAN_ORDER is now a define rather than a global short. - replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__) - remove BKE_endian.h which isn't used
2011-09-06Fix missing warning message when reading files that are not forward compatible,Brecht Van Lommel
it seems this never worked in 2.5.
2011-08-093D Audio GSoC:Joerg Mueller
Speaker objects fully functional! Minor changes: * Fixed three memory bugs found via valgrind. * Fixed bug with jack transport crashing after file loading. * Sound NLA Strips now start at CFRA instead of 0.
2011-08-07Merging trunk up to r39145.Joerg Mueller
2011-08-06KEYMAP REFACTORINGBrecht Van Lommel
Diff Keymaps User edited keymaps now no longer override the builtin keymaps entirely, but rather save only the difference and reapply those changes. This means they can stay better in sync when the builtin keymaps change. The diff/patch algorithm is not perfect, but better for the common case where only a few items are changed rather than entire keymaps The main weakness is that if a builtin keymap item changes, user modification of that item may need to be redone in some cases. Keymap Editor The most noticeable change here is that there is no longer an "Edit" button for keymaps, all are editable immediately, but a "Restore" buttons shows for keymaps and items that have been edited. Shortcuts for addons can also be edited in the keymap editor. Addons Addons now should only modify the new addon keyconfiguration, the keymap items there will be added to the builtin ones for handling events, and not get lost when starting new files. Example code of register/unregister: km = wm.keyconfigs.addon.keymaps.new("3D View", space_type="VIEW_3D") km.keymap_items.new('my.operator', 'ESC', 'PRESS') km = wm.keyconfigs.addon.keymaps["3D View"] km.keymap_items.remove(km.keymap_items["my.operator"]) Compatibility The changes made are not forward compatible, i.e. if you save user preferences with newer versions, older versions will not have key configuration changes that were made.
2011-07-24== RNA Property Updates get called by Animation System now ==Joshua Leung
This fixes bug #26764 and several others like it, where modifier properties (and others, but most visibly modifiers) would not do anything when animated or driven, as modifier properties require the RNA update calls to tag the modifiers to get recalculated. While just adding a call to RNA_property_update() could have gotten this working (as per the Campbell's patch attached in the report, and also my own attempt #25881). However, on production rigs, the performance cost of this is untenatable (on my own tests, without these updates, I was getting ~5fps on such a rig, but only 0.9fps or possibly even worse with the updates added). Hence, this commit adds a property-update caching system to the RNA level, which aims to reduce to the number of times that the update functions end up needing to get called. While this is much faster than without the caching, I also added an optimisation for pose bones (which are numerous in production rigs) so that their property updates are skipped, since they are useless to the animsys (they only tag the depsgraph for updating). This gets things moving at a more acceptable framerate.
2011-06-26Putting back blender.org and release number in info header.Ton Roosendaal
Worked always great for tutorials in past, to check what's been used.
2011-06-24own patch [#27752] Python Callback (Scriptlink functionality)Campbell Barton
Python: * adds bpy.app.handlers which contains lists, each for an event type: render_pre, render_post, load_pre, load_post, save_pre, save_post * each list item needs to be a callable object which takes 1 argument (the ID). * callbacks are cleared on file load. Example: def MyFunc(scene): print("Callback:", data) bpy.app.handlers.render_post.append(MyFunc) C: * This patch adds a generic C callback api which is currently only used by python. * Unlike python callbacks these are not cleared on file load.
2011-06-15Code cleanup: remove unused shaded draw mode code.Brecht Van Lommel
2011-06-10fix [#27607] Scene's render.filepath gets cropped to 159 charactersCampbell Barton
use 240 char limit, remove backbuffer path which wasn't used.
2011-06-04Code holiday commit:Ton Roosendaal
- fix: user pref, window title was reset to 'Blender' on tab usage - Undo history menu back: - name "Undo History" - hotkey alt+ctrl+z (alt+apple+z for mac) - works like 2.4x, only for global undo, editmode and particle edit. - Menu scroll - for small windows or screens, popup menus now allow to display all items, using internal scrolling - works with a timer, scrolling 10 items per second when mouse is over the top or bottom arrow - if menu is too big to display, it now draws to top or bottom, based on largest available space. - also works for hotkey driven pop up menus. - User pref "DPI" follows widget/layout size - widgets & headers now become bigger and smaller, to match 'dpi' font sizes. Works well to match UI to monitor size. - note that icons can get fuzzy, we need better mipmaps for it
2011-06-02fix for [#27410] Manual save kills actual .blend file if disk space is lowAndrea Weikert
- moved do_history into WM_write_file after successful write of .blend@ temporary file - Added new file flag, to avoid writing history on writing the startup.blend, autosave files and undo. Thanks Campbell, Brecht for review!
2011-05-18cleanup onlyCampbell Barton
- rename 'name', 'dir' --> 'filepath' where these actually represent a file path to avoid confusion. - bugfix for possible (but unlikely) uninitialized string. - remove commented script append function, now we have a python api for this.
2011-05-02reverse string lookup listbase function BLI_findstring counterparts, added ↵Campbell Barton
BLI_rfindstring, BLI_rfindstring_ptr, these search from the end of the listbase (like pythons rfind).
2011-04-28CMake build option for security report: CVE-2009-3850Campbell Barton
Nothing is changed by default but some linux distributions want to have executing python be opt-in. This keeps the same functionality but disables auto-run from factory settings and in background mode unless its enabled as a command line argument. This CMake option is marked as advanced and wont show in the regular options list so its less likely to be enabled by people that like to turn everything ON without reading descriptions :)
2011-03-23Fix #26573, #26574 and #26551: objects on layers not visible on load or undoBrecht Van Lommel
restore, would not get their dependencies updated when they became visible. It happend with a shrinkwrap modifier in these reports, but could happen with other modifiers too. Now we keep track of which layers have ever been updated since load, and tag objects on them to be recalculated when they become visible.
2011-03-15fix [#26494] Auto run Python scripts option in User Preferences problemCampbell Barton
- opening a file with blender by passing it as an argument would and loading it once in blender left script auto execute flag in a different state. - command line args --enable/disable-autoexec were being overridden by the user prefs.
2011-03-15use defines for BKE_read_file, no functional change.Campbell Barton
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
2011-02-12fix for more warnings.Campbell Barton
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array. - use BLI_snprintf rather then sprintf where the size of the string is known. - particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
2011-01-20no functional change,Campbell Barton
- remove G.flag, its not used anywhere (and confusing with G.f). - also remove strcpy where memory locations may overlap.
2011-01-18option for the path iterator to loop over packed files so their dir ↵Campbell Barton
separator can be switched on file load.
2011-01-12Bugfix #25570Ton Roosendaal
The tool-redo depends on a working undo system, so it can rewind a step and then redo operator with new settings. When a user disables undo, this won't work. Now the properties for redo operator (toolbar, F6) will grey out when a redo isn't possible.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.