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
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22Code refactoring: move external engine functions into own file.Brecht Van Lommel
2011-09-30fix for crash generating messages.txt, I wasn't getting this crash because I ↵Campbell Barton
had 'WITH_PYTHON_SAFETY' enabled which was using different iterators (which dont crash), now there on by default. made headless and no-python configurations work again and added --factory-startup to doc building command.
2011-09-26change define INTERNATIONAL --> WITH_INTERNATIONALCampbell Barton
also rename backface_culling --> use_backface_culling (which is used elsewhere in rna)
2011-09-20- Fix for compiling without international supportSergey Sharybin
- Enable international support for win64 msvc by default
2011-09-20Improved Internationalization and LocalizationSergey Sharybin
============================================== Commiting GSoC project by Xiangquan Xiao trunk. Applied as separated patch, because svn merge produces to much false conflicts and worked really slow. Details for usage would be published on code.blender.org soon. Thanks to Xiao for implementation of project, Campbell to code review, Dalai and Gez for pointing to nice font and everybody else who took part in improving i18n support.
2011-09-20fix [#28672] Blender segfault after exiting a game that was opened withCampbell Barton
autoplay on (Blender, not blenderplayer) blender now stops the sound system and free's its self on Pythons sys.exit().
2011-09-20i18n: code clean-upSergey Sharybin
- Move all translation-related declarations to BLF_translation.h - Reverted some changes to match trunk svn rev40365
2011-09-19i18n: code cleanup and fixing unneeded translation (when partial translation ↵Sergey Sharybin
is used only)
2011-09-19svn merge -r40222:40344 ^/trunk/blenderSergey Sharybin
2011-09-18Fix for [#28672] Blender segfault after exiting a game that was opened with ↵Joerg Mueller
autoplay on (Blender, not blenderplayer) Autoplay misses uninitialisation, I'm just fixing the reported crash, it still misses all other frees, but as the program exits, we don't care?
2011-09-18i18n: replace gnu unifont with droid sans fontSergey Sharybin
- Static variables can be initialized with constants only. - Removed bunifont.ttf.c from datafiles -- it's not actually a data file. Unicode font loading stuff is not in blenkernel/font.c - Allocate as much memory for unzipped data as it's needed. Default read chunk is 512Kb. - Fixed regression (or just a typo) in setting utf locale. - Default locale set to en_US:en works fine now. - Commented put Nepali language in user preferences -- it's not supported by current droid font and imo it's better to have nice font for languages we actually have translation for rather than allowing to choose more languages in user preferences.
2011-09-15Fixing issues with i18n stuff:Sergey Sharybin
- Make gettext stuff draw-time. so switching between languages can happens without restart now. - Added option to translate visible interface (menus, buttons, labels) and tooltips. Now it's possible to have english UI and localized tooltips. - Clean-up sources, do not use gettext stuff for things which can be collected with RNA. - Fix issues with windows 64bit and ru_RU locale on my desktop (it was codepage issue). - Added operator "Get Messages" which generates new text block with with all strings collected from RNA. - Changed script for updating blender.pot so now it appends messages collected from rna to automatically gathered messages. To update .pot you have to re-generate messages.txt using "Get Messages" operator and then run update_pot script. - Clean up old translation stuff which wasn't used and most probably wouldn't be used. - Return back "International Fonts" option, so if it's disabled, no gettext lookups happens on draw. - Merged read_homefile function back. No need in splitting it. TODO: - Custom fonts and font size. Current font isn't nice at least for russian locale, it's difficult to read it. - Put references to messages.txt so gettext can merge translation when name/description of some property changes.
2011-09-01merge with trunk r39834Xiao Xiangquan
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-08-11use ghash for operator and menu types, was doing string lookup in the ↵Campbell Barton
operator list (containing over 1000 items) for each button draw. gives small speedup for UI drawing and overall startup time.
2011-08-10merge with trunk r39216Xiao Xiangquan
2011-07-29merge with trunk r38787Xiao Xiangquan
2011-07-29svn merge -r38753:38813 ↵Nathan Letwory
https://svn.blender.org/svnroot/bf-blender/trunk/blender .
2011-07-24removed ancient ndof global, removed my own attempt at a C popup menu (the ↵Mike Erwin
Python one works)
2011-07-22switch language in User Preference's System page. with some known switch ↵Xiao Xiangquan
failure bugs
2011-07-14merge from trunk 38379Xiao Xiangquan
2011-07-08== GPU Buffers ==Nicholas Bishop
This patch attempts to clean up and document the GPU buffers code. There are a few bug fixes as well. Patch reviewed here: http://codereview.appspot.com/4631052/ Summary: * Bugfix: make GPU_buffer_copy_normal convert from shorts to floats correctly, also fixed the use of cached face normal CustomData. * Bugfix: changed the `mat_nr' field of GPUBufferMaterial from char to short. * Changed color buffer setup to not alloc a temporary copy of color data, just passes the MCol data in directly. * Changed the GPU buffer pool code to make clearer what operates specifically on the global pool. * Lots of refactoring for GPU_drawobject_new; should operate mostly the same (except got rid of one unecessary allocation), just split into more functions and without macros now. * Converted some #defines into enumerations. * Made some stuff private, pulled out of header file. * Deleted unused function GPU_buffer_pool_free_unused(). * Removed GPU_interleaved_setup and related #defines. (I think this was used for editmode VBOs, but those were disabled.) * Added lots of comments. * Added a few comments in the code signed `--nicholas' to note places where I am unsure about design or usage, would be good to address these better. * Code formatting changed to be more consistent with the rest of Blender. * Renamed some fields and variables to be more consistent with Blender's naming conventions. * Renamed some fields and variables to use more descriptive names, e.g. renamed `redir' to `mat_orig_to_new'. * Removed print outs with DEBUG_VBO -- don't feel too strongly about this one, just not used elsewhere in Blender, could be easily added back if others disagree though. * Moved the PBVH drawing code down to the bottom of the file, before was sitting in the middle of the other VBO code
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-24merge from trunk #37722Xiao Xiangquan
2011-06-20handle SpaceType and UserPref popupsXiao Xiangquan
2011-06-15Committing patch #25676 Anisotropic filtering in viewport and BGE by me.Mitchell Stokes
This patch adds anisotropic filtering of textures in the viewport and the BGE. The quality of the filtering is adjustable in the user preferences under System. For more information on anisotropic filtering: http://en.wikipedia.org/wiki/Anisotropic_filtering One current limitation of this setup (having the option a user preference) is it makes runtimes more troublesome. Runtimes don't have user preferences set, so for now the blender player defaults to 2x AF. Options will be added later to change this value (probably a command line option).
2011-06-15Code cleanup: remove unused shaded draw mode code.Brecht Van Lommel
2011-06-15merge from trunk r37405Xiao Xiangquan
2011-06-13Fix #27594: non-active object in weight paint mode doesn't free memory.Brecht Van Lommel
Also removed some commented out 2.4x code that is already replaced.
2011-06-10Add i18n support for C code, and most menu items can be translated, nowXiao Xiangquan
2011-06-02Almost complete the i18n system, including:Xiao Xiangquan
Copy unifont..ttf.gz from source tree to target datafile path( now ONLY works with cmake ); Set the locale the same with system's setting; If need unicode font, unzip and load unifont when init ui styles; Apply gettext() to labels in space_info.py, who are the main menu items. Each of these should have been commit one by one. As they work well according to my tests, so I just lazily send a long list.
2011-05-20use BKE_area_find_region_type in place of inline loops (no functional changes).Campbell Barton
2011-05-07Code cleanup: remove source/kernel module, this wasn't really the kernel ofBrecht Van Lommel
anything, only contained a hash map and functions to pass command line args to the game engine. Moved those to container and BlenderRoutines modules.
2011-05-02Fix [#26981] Command window is not opening in 2.57.0Nathan Letwory
Reported by Thomas Engel Fix [#26938] Blender Zoom not working after startup (Windows) Reported by Ilija Boshkov by applying patch [#26881] Fix for console disappearing in debug mode [Windows] Submitted by Alexander Kuznetsov (AlexK) The patch moves console toggling code into GHOST and improves on the toggling behaviour. The patch changes handling of WM_SYSCOMMAND so that alt-key toggling isn't a problem anymore.
2011-04-08Fix for compilation under non-windows platforms -- missed check forSergey Sharybin
platform before WM_console_toggle call
2011-04-08Apply console part of patch [#26044] Windows thumbnails and improved ↵Nathan Letwory
filetype registration submitted by Tom Edwards This patch introduces a switch -con and its longer version --start-console. When giving this on cmd-line you'll get the black console window. The new behaviour is to hide it by default. We'll still see briefly the console at startup and during exit, but that's something that cannot be changed. If you start blender from a cmd.exe, the console will not be hidden.
2011-03-28"Error totblock" renamed into "Error: Not freed memory blocks"Ton Roosendaal
2011-03-19remove some redundant vars, assignments & checks.Campbell Barton
2011-03-03use NULL instead of 0 for pointers, (editors)Campbell Barton
2011-02-25doxygen: blender/windowmanager tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-19set main() argv functions to be const char *Campbell Barton
also set minimum cmake version to 2.8
2011-02-14misc small changes:Campbell Barton
- rename rna collection structs Main prefix to BlendData: eg, MainObjects --> BlendDataObjects - printing python collection now prints its type (when available) - renamed shadowed vars in bpy_rna.c. - when making functions static I also made debugging/test functions static, reverse and add definitions to headers instead.
2011-01-20don't set the path to ~/untitled.blend on initializing the WM, this isn't ↵Campbell Barton
well defined how this behavior should work, existing behavior was inconsistent since loading a new file would set the path to "".
2011-01-19new command line option '--factory-startup' to skip reading startup.blend. ↵Campbell Barton
useful for testing with a predictable environment. also commented python benchmark prints on exit, can enable when profiling later.
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.
2011-01-05ToDo: long outstanding patch to allow access to system paths in background modeAndrea Weikert
Thanks Damien Plisson for contributing the Carbon and Cocoa implementation
2011-01-05edits for BPY_extern.h functions, no functional changesCampbell Barton
- remove unused code. - BPY_run_python_script() split in 2, BPY_filepath_exec, BPY_text_exec - renamed funcs.
2010-12-22Complement of commit 33789: Fix for [#25175] bge.logic.mouse.position[1] ↵Dalai Felinto
wrong when using autostart Porting the fix when Fullscreen flag is on (~ scene.gm->fullscreen) I still see some issues with that, a difference between width/height. To be addressed later.