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-09-01Particle billboards weren't created properlyJanne Karhu
2010-09-01Fix for [#23596] Particle Harmonics cache problemJanne Karhu
* Non-dynamic particles weren't reset properly because they don't use pointcache
2010-09-01Added missing ID_NEW() in set_sca_new_poins_ob() as pointed out by Dalai.Benoit Bolsee
2010-09-01remove debug printsNathan Letwory
2010-09-01Python library copying hack.Nathan Letwory
When creating project files the multi-configuration generator is used. CMAKE_BUILD_TYPE is then not set, so always release libs were copied. For now copy both release and debug.
2010-09-01* Don't use /ZI when 64bit building on Windows. Use /Zi instead.Nathan Letwory
* Copy files to ${BLENDER_VERSION} instead of .blender/ * Don't try to copy iconv.dll when 64bit building on Windows - it is static for 64bit.
2010-09-01Adding intern/guardedalloc include dir for bad_level_call_stubs (stubs.c). ↵Mitchell Stokes
This update is for cmake and scons. This is needed since RNA_types.h now includes BLO_sys_types.h
2010-09-01Fix for "RNA_enum_get: ActionActuator.mode not found.". It was broken since ↵Dalai Felinto
recent rna renaming Found while looking at another bug, unfortunately it's unrelated :)
2010-08-31simple NULL check to fix a crash when running in background modeCampbell Barton
2010-08-31Fixes for RNA Renaming in Texture Properties (Volume Material)Thomas Dinges
2010-08-31patch [#23585] Fix for [#23553] in File Selector; Multiple Calls of SelectorCampbell Barton
from Alexander Kuznetsov (alexk) bugfix for [#23553] F2 on filebrowser = bug? from the tracker --- snip File Explorer redraws weirdly on second press of F2 if non-default view or file types were selected previously. This patch prohibits second call of file selector in the same window. The bug goes much deeper. If file selector is never closed properly (cancel or select), it never gets released. (at least the handler). If you press F2 or Ctrl-F3 ten times and than "Back to Previous" and repeat all of this several times Blender will freeze. Also after calling file selector at least two times, on cancellation Blender will return to full area independently to what state it was before. --- include small unrelated change to quiet unpack prints when fonts are not found.
2010-08-31rna support for passing dynamic sized arrays to rna functionsCampbell Barton
using this for object.vertex_groups.assign([index list ...], group, weight, mode)
2010-08-31Fix [#23592] WM draw method detection fails for Mesa's software rasterizer.Nathan Letwory
Reported and patched by Vinay Pawar. The drawing method will be set to Overlap on detection of Mesa software rasterizer.
2010-08-31Updating stubs.c.Mitchell Stokes
* WM_keyconfig_add -> WM_keyconfig_new * WM_keyconfig_add_user -> WM_keyconfig_new_user
2010-08-30another function moved, should be last of the simple cases.Campbell Barton
km.item_from_id() --> km.items.from_id()
2010-08-30missed this one tooCampbell Barton
scene.add_keying_set() --> scene.keying_sets.new() also removed the use_ prefix since argument names, since this is mainly for properties.
2010-08-30- keymap import/export works again (broke with own api changes)Campbell Barton
- function renames, move WM functions into collections wm.add_keymap() --> wm.keymaps.new() note: new is used for named items in a collection, which return the result. - Action.get_frame_range() is now a readonly property 'frame_range', floats rather then ints.
2010-08-30raise an error when setting the values of read-only rna wrapped ↵Campbell Barton
Vector/Matrix/Euler/Quat
2010-08-30fix for resolving rna paths, RNA_path_resolve could return a property which ↵Campbell Barton
was the parent of the pointer (when it would normally be assumed to be the child). also change pythons struct_rna.path_resolve to return StructRNA's or Properties when the property isnt NULL.
2010-08-30bugfix [#23586] Euler.rotate() method is brokenCampbell Barton
fix included in the report
2010-08-30various utf8 compatibility fixesCampbell Barton
- OBJ import/export now work with non utf8 paths. (all exporters and importers need changes like this) - strip non utf8 chars from new ID blocks (also applies to renaming) - set the file rename button to allow non-utf8 chars.
2010-08-30bugfix [#23197] Python can't handle German umlaut characters in stringsCampbell Barton
workaround for python bug with Py_CompileString(), reported http://bugs.python.org/msg115202
2010-08-30stubs.c updatesMitchell Stokes
2010-08-30Bugfix #23551: FMODIFIERS: Steps "Use End Frame" doesn't enableJoshua Leung
One old property name was missed during the renaming madness, so the 'active' poll always failed there.
2010-08-30Bugfix #23575: Hook modifier don't update name of bone acting as the ↵Joshua Leung
controller when the name of that bone is changed
2010-08-30Committing patch [#23489] add method getEventStatus() to PythonKeyboard and ↵Mitchell Stokes
PythonMouse by Geoff Gollmer (gomer) This patch makes SCA_PythonKeyboard.events and SCA_PythonMouse.events return a dictionary of all inputs (including inactive) instead of a list of active inputs. Example usage: import bge if bge.logic.keyboard.events[bge.events.SPACEBAR] = bge.logic.KX_INPUT_JUST_ACTIVATED: print("Spacebar pressed!") A couple of changes to the patch: * Wrap python stuff in #ifndef DISABLE_PYTHON * Clear and decref m_event_dict in the destructors A couple of things not related to the patch: * Made member variables private * Removed a commented out (and no longer used) method (SCA_PythonMouse.show())
2010-08-30Fix indentation errorsNathan Letwory
2010-08-30Finally change SConscript tabs to spaces.Nathan Letwory
2010-08-29fix for the weight range for curve set weight operatorCampbell Barton
2010-08-29Tweaks to ASC-CDL colour balance formula to exactly match the spec.Matt Ebb
2010-08-29BGE patch #22623 applied: new bound type: Capsule.Benoit Bolsee
2010-08-28Timeline Notifier Listener:Thomas Dinges
* Added ND_FRAME_RANGE to the header listener, changing frame range in Properties Window didn't update it in the timeline, reported by Hardworker in IRC. Thanks! * Main Area Listener doesn't listen to all NC_SCENE Notifiers now, only selected ND Notifiers, like the header does. This is more efficient. If there is a reason to let it listen to all NC_SCENE notifiers, please tell me. :)
2010-08-28python/utf8 compatibility fixes. (as discussed on the mailing list)Campbell Barton
- user input gets non utf8 chars stripped all text input other then file paths. - python has the same limitations, it will raise an error on non utf8 strings except for paths use unicode escape literals so its possible to deal with saving to these file paths from python. - new string functions BLI_utf8_invalid_byte(str, len) returns the first invalid utf8 byte or -1 on on success. BLI_utf8_invalid_strip(str, len) strips non utf-8 chars.
2010-08-28After talking with Campbell, we came to the conclusion that it was probably ↵Mitchell Stokes
best not to auto-import modules. To this end, I'm removing the automatic import of the bge module.
2010-08-28Fix #23363: Layer buttons do not update when last object deletedSergey Sharybin
This happend because of incorrect order of calculating used layer mask and drawing header. Added layer content changed notifier to recalc used layers when needed. This also fixes header redrawing in "Move to layer" operator and when user changes Object.layers in properties view
2010-08-28Committing patch [#23278] (by me)Mitchell Stokes
This patch allows a user to pass binary data to LibLoad() to load a blend file from memory instead of a file path. I don't know how useful this will be for others, but I've used it so far for: * Decrypting .blend files and loading them without having to store the .blend on the hard drive * Pulling .blend data out of an archive and loading it (again skipping the hard drive) So, it seems the biggest use for this is skipping a bit of file IO (and possibly some security problems). Example usage: import bge with f as open('myfile.blend', 'rb'): data = f.read() bge.logic.LibLoad('Name', 'Scene', data)
2010-08-28bugfix [#23548] calling fcurves.new() results in EXC_BAD_ACCESSCampbell Barton
2010-08-28apply scons change from r31616 to cmake.Campbell Barton
2010-08-28patch [#23535] Fix for [23408] in Outliner plus other UI fixes thereCampbell Barton
from Alexander Kuznetsov (alexk) Authors comments --- - Rename textfield sometimes exceeded scroll bars' and window's borders. - Restrict buttons were over not under the rename field. - Restrict lines didn't go all the way. - Because of 2.4x interface system, in 2.5 rows were shifted 2 pixels up. - In Datablocks and User Preferences view bottom line was down by one. - Rows in Datablocks, User Preferences and Keymap view didn't extend all the way but check boxes and text fields did. It was visible while scrolling horizontally or at right bottom corner. - Vertical lines in Datablocks and User Preferences didn't stop at the last horizontal line after last row. This patch fixes those problems. P.S. I tested the vertical offset with value of 40 so it works perfectly.
2010-08-28patch [#23537] Memory leak in compositor rotate nodeCampbell Barton
from Jeroen Bakker (jbakker)
2010-08-27Fix [#23451] Render View, one plus button too muchMatt Ebb
2010-08-27rna apiCampbell Barton
obj.add_vertex_group() --> obj.vertex_groups.new() obj.add_vertex_to_group() --> obj.vertex_groups.assign() note: obj.vertex_groups.assign() will be very slow, need to have this take a list rather then 1 vertex at a time.
2010-08-27speedup for pyrna boolean checking.Campbell Barton
if bpy.data.objects: ... Would get loop over the entire collection, instead see if this collection has a single item.
2010-08-27move dopesheet UI template from C to pythonCampbell Barton
2010-08-27Fix for Mesh.uv_textures.new(name="my_uv") returning the wrong uvmap - ↵Dalai Felinto
reported by Vitor Balbio - not in tracker. The code was taking the last layer, but that is only valid if the mesh has only one kind of CustomData types (e.g. only UVMaps or only VertexColors). The solution I found is to call CustomData_get_named_layer_index instead. To avoid some situations where an uv with this name may already exist and the number of UVs is already the limit we are returning a CDL only when the texture is properly created. As a bonus that also fixes the same problem with VertexColor.
2010-08-27own rna naming commits r31439 r31472 also renamed BGE vars unintentionallyCampbell Barton
2010-08-27ED_view3d_draw_offscreen_imbuf_simple and ED_view3d_draw_offscreen_imbuf now ↵Campbell Barton
accept the imbuf flag so they can get the float buffer from opengl directly.
2010-08-27rna api changesCampbell Barton
- mesh.add_geometry(v, e, f) --> mesh.vertices.add(tot), mesh.edges.add(tot), mesh.faces.add(tot) - mesh.add_material(mat) --> mesh.materials.link(mat) changed material.link so it always adds a material even if it exists in the list, this behavior is good for users but not scripts since it can mess up indicies (some formats may have the same material set twice).
2010-08-26When loading a default file, the default path could't always be initialized.Campbell Barton
G.main->name (also bpy.data.filepath) was being set to an uninitialized string. Not much we can do about this so set G.main->name an empty string if no file is loaded.
2010-08-26bugfix [#23523] OBJ Import still failsCampbell Barton
mistake in own recent commit, texture type wasn't being set