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
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-16Removing unnecesary print "draw swap exchange"Ton Roosendaal
2010-11-15Bugfix #24726Ton Roosendaal
Doing F1-load a lot of times on same .blend could crash. Janne karhu provided a potential fix, which is good to add anyway. Will ask him to verify too. Added XXX warning for these lines, after filesel exec no context variables should be re-used. Is for later investigation.
2010-11-15bugfix [#24708] World Notifier ProblemsCampbell Barton
also draw stars when 'Only Render' option is enabled.
2010-11-12Getting BLF to work with the Blenderplayer.Mitchell Stokes
2010-11-12Revert the reversal :)Nathan Letwory
2010-11-12Revert r33023Joshua Leung
Was causing compile troubles with MSVC: wm_operators.c C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(322) : error C3163: '_write': attribute s inconsistent with previous declaration C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(224) : see declaration of '_wri te' scons: *** [C:\blenderdev\b250\buildvc\source\blender\windowmanager\intern\wm_operators.obj] Error 2
2010-11-11System console toggling for MinGWSergey Sharybin
Define WINVER=0x0501 for MinGW due to some stuff requres this winver, but MinGW's default is 0x0400 (thanks AlexKu for point) Better to replace all #include <windows.h> with #include "BLI_winstuff.h" to avoid possibility of different functions prototypes in different modules.
2010-11-11Fix for definitions checking. Now it should work with MinGW.Sergey Sharybin
2010-11-11Also !defined(FREE_WINDOWS) on appending operator.Nathan Letwory
2010-11-11== filebrowser ==Andrea Weikert
When loading .blend file (F1) open the filebrowser with the most recently used .blend file. Another lost feature from 2.49 back ;)
2010-11-11wrong language :°Nathan Letwory
2010-11-11For now have console toggling only when compiled with MSVC.Nathan Letwory
Need to find out how to enable for MingW too.
2010-11-11Apply patch [#24579] Fix for Win; Show/hide consoleNathan Letwory
Submitted by Alexander Kuznetsov
2010-11-11move report/operator view out of the 'Console' into the 'Info' space (file ↵Campbell Barton
menu). Ton will work on moving the File menu out of the Info space before release. notes. - reply Operator isn't working anymore. - UI for reports is commented out so its not mixed with the file menu.
2010-11-10Bugfix #24570Ton Roosendaal
When using a startup.blend without user prefs (themes etc) saved, Blender crashed. Added a provision to then fall back to the compiled in startup, including a print in console.
2010-11-10bugfix [#24635] "Add Shortcut"Campbell Barton
2010-11-09Bugfix #20812 (and probably others)Ton Roosendaal
Issue: in user preferences window, using file selecting caused the the userpref window to be saved, and not closing. Reason: design error (by me) in using screen->full tag for denoting a temporarily screen (like file window). Fixed by using a new screen->temp variable for it. System remained unstable though, noticed another issue with freeing temp screens in wrong places. Seems nice stable now! Will check on the wiki for relarted issues now.
2010-11-05tedious string copying changesCampbell Barton
- use sizeof() in more places. - fixed some off by 1 bugs copying strings. setting curve font family for instance was 1 char too short. - replace strncpy and strcpy with BLI_strncpy
2010-11-04bugfix [#24009] Crash when switching area types and performing opsCampbell Barton
2010-11-04fix to allow [#24009] to be fixed.Campbell Barton
WM_operator_poll() could fail in cases WM_operator_name_call() would succeed because calling the operator would setup the context before calling poll. this would result in python raising an invalid error or menu items being greyed out. now python can also check with an operator context: bpy.ops.object.editmode_toggle.poll('INVOKE_SCREEN')
2010-11-04bugfix [#24518] Blender wont compile with -Wall -Werror and COLLADA supportCampbell Barton
fix included in report from Martijn Berger (mberger) made some small changes. - use ints rather then unsigned long for printing, values are not likely to be very large. - CMake remove strict flags from collada build dir since I had warnings in the collada headers. - added xml2 to collada libraries else I couldnt get collada building.
2010-11-03use c90 compatible static initializers.Campbell Barton
2010-11-02bugfix [#24455] Scene is left at last rendered frame from rendering an animationCampbell Barton
2010-10-31initialize structs to zero rather then using memset().Campbell Barton
2010-10-31bugfix [#24466] Selecting of object with pattern leads to strange behaviorCampbell Barton
The undo problem was caused by python operators returning 'RUNNING_MODAL' rather then the return value from wm.invoke_props_popup(self, event) - 'FINISHED'. This was done because returning FINISHED would free the operator causing the buttons redo handler to try and run a freed operator and crash. So the real fix is to disallow any operators to use wm.invoke_props_popup(self, event) if they dont have the REGISTER option enabled, fixing the crash and redo problem.
2010-10-31rename and negate DISABLE_PYTHON --> WITH_PYTHONCampbell Barton
2010-10-31rename definition for enabling the game engine GAMEBLENDER==1 --> ↵Campbell Barton
WITH_GAMEENGINE
2010-10-31dont build blender/kernel if the game engines disabled.Campbell Barton
2010-10-27bugfix [#24341] Problems running blender headlessCampbell Barton
bg mode didnt have the screen context callback set. Though this sounds logical, bg mode defines a screen it should be set.
2010-10-27remove include paths which dont exist, fix for doc upload script which was ↵Campbell Barton
getting the blender version twice and not working sometimes.
2010-10-23warning fixes.Campbell Barton
2010-10-23use explicit file paths for CMake rather then globing, This is recommended ↵Campbell Barton
by cmake devs. globbing vs explicit is discussed here. http://www.cmake.org/pipermail/cmake/2008-December/025694.html Practical implications are: - developers need to keep CMakeLists.txt files up to date. - Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-22bugfix/workaround for ../../radeon/radeon_cs_gem.c:181: cs_gem_write_reloc: ↵Campbell Barton
Assertion `boi->space_accounted' failed. [#656100] reported on launchpad. calling glClear(GL_COLOR_BUFFER_BIT); was crashing blender, since this is only used to blank the window before its drawn, disable for opensource ATI drivers.
2010-10-21Partial fix for bug #24341, "Problems running blender headless"Nicholas Bishop
* Fixed the random file popping up. * Don't write to the history file in background mode, because ghost won't give us the right directory in that case
2010-10-19Add operator for toggling cmd box on Windows.Nathan Letwory
Use through search menu (Toggle System Console) or call bpy.ops.wm.toggle_console(). This is based on patch [#6927] Optional Console for Windows by Fahrezal Effendi, submitted on July 10th, 2007 (!) This paves the way for adding a command-line option to Blender to toggle this cmd console, and for having a user preference option for this. Command-line option I haven't added yet, as there seemed to be problems with Python interpreter initialization (read: crashes). This works by redirecting stdout and stderr to blenderlog.txt in user temp directory (most likely %TEMP%\blenderlog.txt). When python problem is fixed we can use this to always redirect stdout and stderr to this logfile, making it also easier for us to ask users for this file in bugreports.
2010-10-18remove G.sce, use G.main->name instead.Campbell Barton
Both stored the filename of the blend file, but G.sce stored the last opened file. This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore). Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-18bugfix [#24302] Ctrl+Click Extrude gets old mouse eventsCampbell Barton
double click didnt check mouse distance moved so you could click twice in different areas of the screen very fast and generate a double click event which had old mouse coords copied into it but was sent to an operator set to run on single click (because the double click wasnt handled). Also added MEM_name_ptr function (included in debug mode only), prints the name of allocated memory. used for debugging where events came from.
2010-10-16Now sound init param removal revert should be fine (apparently my cmake ↵Nathan Letwory
project files missed rebuild hint for these, fortunately SCons did its job well).
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16- UNUSED macro wasn't throwing an error with GCC if a var become used.Campbell Barton
- made interface, windowmanager, readfile build without unused warnings. - re-arranged CMake's source/blender build order so less changed libs are build later, eg: IK, avi
2010-10-15Less cryptic modifier key typesNathan Letwory
2010-10-15Add comment about when prefsizx et al are used.Nathan Letwory
2010-10-15Fix for r32487: the logic was suboptimal, improved to always work correctly.Nathan Letwory
2010-10-15Fix [#24260] Window geometry command-line option doesn't workNathan Letwory
Override the first window size with --window-geometry if given. startup.blend would otherwise open as lastly saved.
2010-10-15replace SIDE_OF_LINE macro with line_point_side_v2() inline function.Campbell Barton
made a number of files build without unused warnings.
2010-10-14remove unused args or tag as unused for image and screen editors, ↵Campbell Barton
uiItemEnumR_string was ignoring name and icon args.
2010-10-13bugfix [#24231] outliner not refreshed correctlyCampbell Barton
also made world changes only redraw the 3d view if 'Render Only' option is set.
2010-10-12[#24226] small inconsistency in user preferencesCampbell Barton
also made setting the temp dir more consistent, slash is always added on the end and if the user-pref dir is invalid its not used.
2010-10-07bugfix [#23988] The Maya preset as defaultCampbell Barton