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
path: root/source
AgeCommit message (Collapse)Author
2010-04-18various minor fixesCampbell Barton
- collada export would run MEM_freeN on an un-initialized pointer in some cases. - makesrna was missing a call to close a file. - text cursor update function was missing a NULL check for st->text. - possible (unlikely) un-initialized return value for bge python lamp.type, set error instead. - possible (unlikely) missing NULL terminator with strncpy for ffmpeg.
2010-04-18was using uninitialized string for node name display, also use sizeof() ↵Campbell Barton
rather then fixed values.
2010-04-18SVN maintenance.Guillermo S. Romero
2010-04-17- for BGE mouse and keyboard events use tuples rather then listsCampbell Barton
- pep8 corrections
2010-04-17bugfix and cleanupCampbell Barton
- BGE Shader.setSampler(name, index): index range check was wrong. - Compositor check for an invalid channel was incorrect. - getting the center of selected verts used an uninitalized z axis. - do_init_render_material() used && rather then & when testing for MA_TRANSP. - weight paint activate flipped bone used && rather then & for flag checking.
2010-04-17move camera lens/angle conversion to BLI_mathCampbell Barton
2010-04-17Quicktime audio export: force AAC sample rate to be <=48kHz to avoid later ↵Damien Plisson
codec error + potential quicktime mem leaks fixes AAC Codec does not handle sample rates above 48kHz.
2010-04-17Patch #21789 - BGE Keyboard and Mouse Python types - by Mitchell Stokes(Moguri)Dalai Felinto
The patch exposes mouse and keyboard read-only properties in the GameLogic module Also renames bge.keys to bge.events (* Note: name of bge submodules (logic, render, ...) may change before 2.5 final release [right Campbell?]). """ This patch adds two new types to the BGE: SCA_PythonKeyboard SCA_PythonMouse These two types allow users to make use of the keyboard and mouse without the need for a keyboard or mouse sensor. SCA_PythonKeyboard has an events property that acts just like SCA_KeyboardSensor.events. SCA_PythonMouse also has an events property to check for mouse events. Further more it supports getting and setting normalized cursor position (from 0.0 to 1.0) with SCA_PythonMouse.position. The cursor can be shown/hidden using SCA_PythonMouse.visible. """ Its use is similar with current mouse and keyboard controllers. With the exception of mouse position being normalized and writable as well (replacing Rasterizer.setMousePosition). Code Sample: ###### from bge import logic, events mouse = logic.mouse keyboard = logic.keyboard for key,status in keyboard.events: if status == logic.KX_INPUT_JUST_ACTIVATED: if key == events.WKEY: print(mouse.position) # move_forward() mouse.visible = True # turn cursor visible mouse.position = 0.5,0.5 # centralize mouse - use tuple ###### * Important Note: mouse.position still will not work properly for Letterbox mode. In order to fix letterboxing I may need to move the set x,y mouse function to inside the canvas code (to avoid duplicated code between mouse sensor and bge.logic.mouse). I'll leave this for another commit though. Thanks Mitchell for the work on that.
2010-04-17PThreads "fix" for CMake / MSVCDalai Felinto
I heard that the actual solution would be to remove #include <pthread.h> from BLI_threads.h But in the mean time is not fair to CMake/MSVC to be the only system not building ;)
2010-04-17Added missing/better tooltips for Array modifierDaniel Salazar
2010-04-16-->Fix for compile on MSVCGeoffrey Bantle
Expansion of BASE_MATH_MEMBERS macro meant that two consecutive semicolons were in the source in most header files that used it.
2010-04-16fix for uv project modifier, broke when angle was removed.Campbell Barton
2010-04-16[#22045] Memory leak in Mathutils.MatrixCampbell Barton
own fault when adding mathutils callbacks, generic destructor didnt free the matrix accessor array, made the array apart of the matrix struct since its not worth malloc'ing to save at most 16bytes.
2010-04-16Fix [#21559] Loopcut and scale problem.Matt Ebb
Force mesh out of face select mode and into edge mode when doing loop cut - it left an invalid edge selection in face mode, especially with edge slider afterwards.
2010-04-16Grease pencil->beizer curve conversion fix: handles used to haveSergey Sharybin
the same coordinates as points. Also send additional notification at the end of conversion operator, which is needed for correct interface updating (active object could be changed in operator but interface wouldn't be updated).
2010-04-16Fix warning, also added error message for the case of no filename passed.Andrea Weikert
2010-04-16Turned off 'Emulate 3 button mouse' in default startup blend.Matt Ebb
In this day and age most people have 3 button mice, so this option can now be the exception not the rule - causes enough issues with conflicts. This commit won't disturb existing saved configs.
2010-04-16Fix for possible null pointer, from uncle entity in ircMatt Ebb
2010-04-16Fix [#21492] "Align to view" option from tools panel's operator part doesn't ↵Matt Ebb
works. Also changed some usage of CTX_wm_region_view3d(C) to ED_view3d_context_rv3d(C)
2010-04-16fix for own mistake, from r27961.Campbell Barton
2010-04-16File Browser: respect UserPref for filtering.Andrea Weikert
Setting 'Filter Files' to false, now shows all files in file browser by default when called with any operator.
2010-04-16SVN maintenance.Guillermo S. Romero
2010-04-15MSVC 9 projectfiles updateAndrea Weikert
* blenlib/math_geom_inline.c * also fix compile error with MSVC (snprintf not defined)
2010-04-15fix for crash when drawing fpsCampbell Barton
2010-04-15disable an assert, use a guess assignment instead.Joseph Eagar
2010-04-15Merge various small changes from render branch:Brecht Van Lommel
* Division by zero fix for TNT SVD code. * Sound fix, in case ffmpeg decode fails, don't use the samples. * Fix for incorrect bounds of transformed objects in new raytracing code. * Gave memory arena's a name used for allocations for easier memory usage debugging. * Dupligroup no_draw option was using layers but not restrict view/render setting. (not a bugfix exactly but would do display list context switching while drawing for no reason). * Fix objects instanced on hair particles not giving consistent results when the object is transformed. * New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4, mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4. * mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple arguments. * endjob callback for WM jobs system. * Geometry node uv/color layer now has search list/autocomplete. * Various small buildsystem tweaks, not strictly needed yet in trunk.
2010-04-15Fix [#22029] Camera in degree mode doesn't updateMatt Ebb
Removed the camera->angle from DNA, now it just uses RNA to handle the conversions. Really need to convert this to physical units at some point... :/
2010-04-15Allow shift-tweak to be used for border select extendMatt Ebb
(end border select on any key modifier + lmb)
2010-04-15Make memstat easier to read, add missing Intel ID and cleanups.Guillermo S. Romero
2010-04-15fix [#22007] Saving a read-only file on windows : no warning and temporary ↵Andrea Weikert
files left there * small improvement to last commit: actually pass the error value from WM_write_file back to the operator and cancel the operator if not successful. This also preserves the indication that the file hasn't been saved in case of error.
2010-04-15fix [#22007] Saving a read-only file on windows : no warning and temporary ↵Andrea Weikert
files left there * return OPERATOR_FINISHED from file save, so reports are not suppressed - this results in popup with the expected error in this case.
2010-04-14CTRL+SHIFT click on node "Make viewer connect to node" now also worksTon Roosendaal
if there's no active viewer, or no existing link to viewer.
2010-04-14Small fix: scene name in render stats string.Ton Roosendaal
2010-04-14Fixing Scons compile on Windows:Thomas Dinges
*Missed PTHREAD declaration.
2010-04-14SVN maintenance.Guillermo S. Romero
2010-04-14rna api, when linking objects to an inactive scene, dont change its layer, ↵Campbell Barton
removed NULL object data check since this isnt allowed from the api side.
2010-04-14Fix for crash using splash screen recent files. Matt Ebb
Need to find a better method for menu refreshing..
2010-04-14Fix [#22005] Duplicated Point Density textures remain somewhat linkedMatt Ebb
2010-04-14* Interaction PresetsMatt Ebb
This adds a new presets menu in the splash screen and the Input section of User Preferences to choose a preset interaction style, consisting of key configurations and also other user preferences such as select mouse button, view rotation style, etc. Currently, just 'Blender' and 'Maya' presets are included, hopefully we can have more presets contributed (and maintained!) by the community. It's best to keep these presets minimal to avoid too many key conflicts. In the Maya one I changed the view manipulation key/mouse combos and also the transform manipulator keys, not much more than that. To save an interaction preset, open the user preferences Input section, and press the [ + ] button next to the presets menu. It will save out a .py file containing any edited key maps and navigation preferences to the presets/interaction folder in your scripts folder. --- Part of this commit changes the way that key maps are exported/displayed in preferences - now partial key configs are allowed. Previously it would export/import the entire key configuration, regardless of whether individual key maps were edited or not (which would make them more susceptible to conflicts in unexpected areas). (note, in blender terminology, a key map is a category of key items, such as 'Object Mode' or 'View 2d'.) Now, the export and the UI display work in a similar way to how key maps are processed internally - Locally edited key maps (after pressing the 'Edit' button) are processed first, falling back to other key maps in the current key config, and then falling back to the default key config. So it's possible for a key config to only include a few key maps, and the rest just gets pulled from the default key config. The preferences UI display works like this too behind the scenes in deciding what to show users, however using it is just like it was before, the complexity is hidden.
2010-04-14fix for crash when a register script sets material colors, also made some ↵Campbell Barton
changes to modifier formatting.
2010-04-14cloth init function not being calledJoseph Eagar
2010-04-14there were duplicate modifier init's, harmless but better remove.Campbell Barton
2010-04-14used private mutexes to avoid deadlocksJoseph Eagar
2010-04-14Testing for the need to quick cache was causing slowdowns on files with many ↵Janne Karhu
duplis. * The test is now only done when some object that uses cache has actually changed. * The added scene->physics_settings->quick_cache_step is only an internal counter, not a user changeable value.
2010-04-13Fix for [#21983] Entering Particle Edit mode crashJanne Karhu
2010-04-13Template for 'Running Jobs" now shows Composite thread, for node space.Ton Roosendaal
2010-04-13fixed make local bug; it was only looking at editable objects, which of ↵Joseph Eagar
course lib objects are not.
2010-04-13prevent images from freeing gpu buffers if not run within the main thread, ↵Joseph Eagar
instead they are queued to be freed the next time GPU_image_free() is run from the main thread.
2010-04-13Fix for hue correct node, was clamping value of hsv unnecessarily.Matt Ebb
2010-04-13Todo #21831: Deform modifier is applied to base mesh instead ofSergey Sharybin
multires modifier if both are in the stack (patch #21965) This patch also removes limitation of multires reshaping when destination object has got modifiers after multires modifier.