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
2009-01-022.5Ton Roosendaal
From the anti-globalization department: G.obedit terminated! Wherever possible, use CTX_data_edit_object(C) to get this now. It's stored in scene now, and the screen context has it defined.
2009-01-012.5Ton Roosendaal
- Put back vertex/edge/face select - Mode menu allows going in/out editmode - Tested some tweak event stuff in WM, made tweak event follow user preset for 'action' or 'select' mouse. (Wanted to try this for transform, but better get advise from Martin first :)
2008-12-302.5Ton Roosendaal
Editmesh code cleaned and compiling/linking. A whopping 20k lines back! :) Not that it does stuff... editmode in/out has to be done, and loads of operators. Also linking/exporting editmesh calls has to be reviewed. Also: added a blender_test_break() mechanism in BKE.
2008-12-292.5: Error reportingBrecht Van Lommel
* Added a report list to operator, to which they can report errors and warnings. When the operator ends, it will display them with a popup. For python these should become exceptions when calling operators. * Added a function to make a popup menu from a report list. * Also added a utility function to prepend a string before the reports to indicate what they relates to. Also made the report functions used BLI_dynstr to simplify the code. * Made file reading and writing report errors to the user again using this system, also replacing the left over uncommented bad level error() calls.
2008-12-292.5Martin Poirier
Transform: First working port of the transform code: - Object mode only (other conversions need to be ported) - Contraints (global and local only) working - Snap (no edit mode, obviously) working - Numinput working - Gears (Ctrl and Shift) working - Only grap, rotate, scale, shear, warp and to sphere have been added as hotkey, but the rest should work too once accessible - No manipulator - No drawn feedback other than moving stuff and header print (no constraint line, snap circle, ...) - No NDOF support I've only tested Scons support, though Makefil *should* work, I *think*. Misc: -QuatIsNull function in arith -Exporting project_* and view[line|ray] functions from view3d
2008-12-242.5 / SConsNathan Letwory
New priorities for most libs, at least core. This is still for Blender proper, BGE and such still to come.
2008-12-202.5Andrea Weikert
* fix lost declaration and missing includes after blenlib cleanup. * bump warning level to W3 for Debug in a few libraries for MSVC9 projectfiles. Others will follow.
2008-12-202.5 BLI_blenlib cleanupAndrea Weikert
DONE: * moved almost all declarations from BLI_blenlib.h into their own proper header files. * BLI_blenlib.h still includes all the declarations for convenience and to avoid changes in existing code * split util.c into several files, where it wasn't done already * DynamicList -> dynamiclist, * ListBase -> listbase, * String utility functions -> string.c * removed a few unused macros and functions, if they're needed back, they're still in svn ;) TODO: * btempdir global * further cleanup in the code of the different modules (especially util.c)
2008-12-152.50: added sequence.c in blenkernel for sequencer functionalityBrecht Van Lommel
that is not supposed to be in the editor but at blenkernel level to avoid bad level calls. Added sequencer free and strip iterator functions there and used them to make sequencer data load/save work again.
2008-12-142.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r17434:HEAD
2008-12-04* silence a warningNathan Letwory
2008-11-13Merge of trunk into blender 2.5:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r12987:17416 Issues: * GHOST/X11 had conflicting changes. Some code was added in 2.5, which was later added in trunk also, but reverted partially, specifically revision 16683. I have left out this reversion in the 2.5 branch since I think it is needed there. http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16683 * Scons had various conflicting changes, I decided to go with trunk version for everything except priorities and some library renaming. * In creator.c, there were various fixes and fixes for fixes related to the -w -W and -p options. In 2.5 -w and -W is not coded yet, and -p is done differently. Since this is changed so much, and I don't think those fixes would be needed in 2.5, I've left them out. * Also in creator.c: there was code for a python bugfix where the screen was not initialized when running with -P. The code that initializes the screen there I had to disable, that can't work in 2.5 anymore but left it commented as a reminder. Further I had to disable some new function calls. using src/ and python/, as was done already in this branch, disabled function calls: * bpath.c: error reporting * BME_conversions.c: editmesh conversion functions. * SHD_dynamic: disabled almost completely, there is no python/. * KX_PythonInit.cpp and Ketsji/ build files: Mathutils is not there, disabled. * text.c: clipboard copy call. * object.c: OB_SUPPORT_MATERIAL. * DerivedMesh.c and subsurf_ccg, stipple_quarttone. Still to be done: * Go over files and functions that were moved to a different location but could still use changes that were done in trunk.
2008-11-11* RNA: utility function to retrieve strings. It will use a fixedBrecht Van Lommel
size buffer if it's big enough, and otherwise allocate memory. * Added BLI_dynstr_appendf() to construct strings easily in printf style, this should make it easier to construct menu strings for example.
2008-11-11Adjusted scons files so disabling quicktime, python and sdl also removes ↵Campbell Barton
their includes when building. writefile.c had usless include.
2008-11-11removed some warningsCampbell Barton
2008-10-28merge 17122:17206Martin Poirier
2008-10-22* Minor cleanup of SCons filesNathan Letwory
- cleanup of boolean usage - use True and False now instead of 'true'/'false' or 0/1 - changed SConscripts accordingly
2008-10-20merge 16951:17122Martin Poirier
2008-10-19source/blender/blenloader/intern/readfile.c - use memmove rather then ↵Campbell Barton
strncpy for overlapping strings. source/blender/blenlib/intern/fileops.c - zero length strings would check for a slash before the strings first char. source/gameengine/GameLogic/SCA_JoystickSensor.cpp - m_istrig_prev was not initialized source/blender/src/editmesh.c - active face pointer was not set to NULL in free_editMesh()
2008-10-10This commit fixes bug: [#17770] Texture Plugins do not work. (on windows)Kent Mein
Thanks to Lguillaume for helping with this one. Had to go back to bug: [#17631] PIL_dynlib_get_error_as_string() returns NULL, causes crash and revert the fix and make some new updates. function needs to return NULL so fix the functions that were assuming it always returns a string. Kent
2008-10-10use BLI_strcasecmp instead of strcasecmp so it actually links under WindowsErwin Coumans
2008-10-10fix for [#12255] Rename the File at File Window,the file is deletedCampbell Barton
renaming a file on win32 would delete it because it didnt test if the 2 filenames were the same (case insensitive), and remove the 'to' file to make way for the 'from' file.
2008-10-06merge runk 16887:16950Martin Poirier
2008-10-06fix for [#17560] Error in BPY_run_python_scriptCampbell Barton
any path starting with a '.' on win32 would be replaced with C:\ (or the default root) this was added rev 6568 so the file selector would replace "." with C:\. should be moved to fileselector but for now compare with "." rather then checking the first char. header_view3d.c - prop edit and render were aligning in curve edit mode.
2008-10-03Small fix for (harmless) use of uninitialized memory.Brecht Van Lommel
2008-10-03merge trunk 16118 -> 116886Martin Poirier
2008-10-01Bug fixingMartin Poirier
It helps if the fonction to wait on all threads actual does that. Use user parameter for number of threads (this is really looking like it should be in the userprefs and not render params).
2008-09-30modify BLI_convertstringcode so windows paths are converted from C:\foo.jpg ↵Campbell Barton
to /c/foo.jpg since there is C:\ prefix cant exist on a unix system this wont break any files.
2008-09-29resolve some compiler warnings with intel c/c++ compilerCampbell Barton
* subsurf code had a lot of unused variables, removed these where they are obviously not needed. commented if they could be useful later. * some variables declorations hide existing variables (many of these left), but fixed some that could cause confusion. * removed unused vars * obscure python memory leak with colorband. * make_sample_tables had a loop running wasnt used. * if 0'd functions in arithb.c that are not used yet. * made many functions static
2008-09-29tests for 2d triangle and quad intersection would only work if the points ↵Campbell Barton
were ordered clockwise. now return 1 for clockwise, -1 for counter-clockwise and 0 for no intersection.
2008-09-26Keep persistent results for retargeting. Easier weight adjustement.Martin Poirier
Will have to do a second pass tomorrow to fix some leftovers.
2008-09-23Fix file browser for Windows: going to the parent directory introduces ../\. ↵Benoit Bolsee
Correct parent is ..\ under Windows.
2008-09-22fix for [#15020] File browser: going back from the root of all directories ↵Campbell Barton
introduces "../" ad libitum + harcoded path? bug was introduced when fixing BLI_cleanup_dir not to write to negative character indicies. added a BLI_parent_dir(char *path)
2008-09-22Added three XYZ color space options in code, will be activated later.Ton Roosendaal
Thanks matt for the typing work :)
2008-09-20Patch #17631 by Early EhlingerTon Roosendaal
His log: One of the calls to PIL_dynlib_get_error_as_string was assuming that it would return a valid string and not NULL (perhaps by converting to std::string). This patch simply changes it to always return a string, even when the error is not recognized.
2008-09-20Patch 17403, small gcc warning fixes.Ton Roosendaal
2008-09-20[#17600] char* -> const char*Campbell Barton
Thanks to Sean Bartell (wtachi), was causing many many warnings which distracted from the real problems.
2008-09-20Python api access to obcolorCampbell Barton
Option to copy obcolor in the copy menu Option to select same color in select grouped menu console.py - mistake in last commit caused a python error
2008-09-19Patch #8213 by Shunichi FujiTon Roosendaal
Fixes crash with FT fonts in some cases, just removed unnused line of code.
2008-09-16Benchmarkings timer cleanupMartin Poirier
Don't number groups with only one arc (easy fix for fly model, need a two pass arc match for real fix)
2008-09-15added BLI_convertstringcwd, used so command line blendfiles and python ↵Campbell Barton
scripts can be relative to the current path. - was alredy doing this for blendfiles, but better to have in its own function. header_text.c - renamed PATH_MAX, was defined by system includes.
2008-09-13Particle collisions upgrade:Janne Karhu
- Particle now use the deflector objects collision modifier data to collide with deflectors and as a result can now use the velocity of the colliding object for more realistic collisions. - Dynamic rotations are also quite a bit more realistic and are related to the friction setting of the deflector (to get any dynamic rotations there has to be some friction). This is largely due to the separate handling of rolling friction (approximated to be 1% of normal sliding friction). - Collisions should be a bit faster on complex deflectors due to the tree structure used by the collision modifier. - Collision should also generally be a bit more accurate. To be noted: Only the average velocity of individual deflector faces is used, so collisions with rotating or deforming objects can't be handled accurately - this would require much more complex calculations. Subdividing the deflector object surface to smaller faces can help with this as the individual face velocities become more linear.
2008-09-09Fix for bug #17402: IK influence blending with pole targetsBrecht Van Lommel
didn't give smooth transition. Now it blends the result of IK solving in that case.
2008-09-05Fixing non-working check for incompatible treesDaniel Genrich
2008-09-05bvh nodes got parent node reference againDaniel Genrich
2008-09-05Compiling/Warning Fixes (for scons/mingw + "split sources hack") Part 1:Joshua Leung
* Removed compiler warnings from texteditor work * Added round brackets around the new defines for IPO channels for extra texture layers * Tweaked priorities so that BLI_heap_* functions in blenlib can be found by linker (split-sources specific) TODO: * "monkey*" vars cannot be found still
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.
2008-09-02Memoization based solver for inner joint placement. Pretty much reduces the ↵Martin Poirier
problem from a monstruous exponential to a quadratic cake. Thanks to jaguarandi for initial pointers. Changes in arith is a simple added function to check for null vectors.
2008-08-22Removed cast warnings from shrinkwrap.c and BLI_kdopbvh.cAndre Susano Pinto
Only unused functions and openmp warnings left on those.
2008-08-22Fix Windows compilation problem and update MSVC project filesBenoit Bolsee