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-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
2010-08-26fix for dark images from the sequencer when color management is disabled.Campbell Barton
the render engine assumes the RenderResult's rectf is not in linear color space when color management is disabled so the sequencer and opengl render need to follow this else it results in dark images.
2010-08-26Patch [#23437] Fix for buffer overflow in filebrowserNathan Letwory
Contributed by Alexander Kuznetsov
2010-08-26Patch [#23390] Addition of Author field to user preferencesNathan Letwory
Contributed by Imran Syed (freakabcd) Adds a field where the user can put in name/nickname that exporters then can use to write authoring information, where possible.
2010-08-26Patch [#23389] Add authorship information to exported COLLADA filesNathan Letwory
Contributed by Imran Syed (freakabcd). This adds basic authoring tool and author info ("Blender User" for now). NOTE: Linux and OSX users need now to update their OpenCOLLADA libs - Blender should now compile fine with their latest revision. Made some changes to the original patch to ensure linking is done correctly. Some small cleanups for scons too.
2010-08-26rna api - replace panel properties bl_default_closed and bl_show_header with ↵Campbell Barton
bl_options which has 2 flags: 'DEFAULT_CLOSED' and 'HIDE_HEADER'. this matches operators which also uses bl_options like this
2010-08-26Updating stubs.c for WM_clipboard_text_get and WM_clipboard_text_set.Mitchell Stokes
2010-08-26patch [#23316] Fix bug that doesn't show "X:" "Y:" "Z:" for vectors with lengthCampbell Barton
patch [#23317] Changed some operators' RNA to accept lengths by Lorenzo Tozzi (oni_niubbo) with the minor change to use XYZ subtype rather then LENGTH.
2010-08-25Fix #23470: scene.objects.link() did not update viewport,Brecht Van Lommel
patch by Dan Eicher, thanks!
2010-08-25Fix #23496: some composite node inputs/buttons not working.Brecht Van Lommel
2010-08-25Fix #23461 and #23474: revision 31517 to simplify code made undo workBrecht Van Lommel
incorrect, BLI_findstring doesn't work when you need to loop over the list backwards.
2010-08-25simplify pass drawing, give each pass its own list, avoids some context ↵Campbell Barton
switching. - also fixes a problem where xray+transp+alpha1.0 objects wouldnt draw at all. - the patch worked by adding twice but this leaked memory. - solve by adding the xraytransp object to the xray list if the alpha is 1.0
2010-08-25patch [#23376] Fix for Bug[[#23351] X-Ray + Transparency removes X-Ray effectCampbell Barton
from Phil Gosch (saphires) minor edit on the patch, was adding V3D_XRAY and V3D_XRAYTRANSP lists, only add to one.
2010-08-25Fix #23433: crash with undo where a UI button was still active and accessingBrecht Van Lommel
data that was freed.
2010-08-25Fix #23181: crash in bone roll with project snapping enabled.Brecht Van Lommel
2010-08-25Fix BGE bug reported by Gilberto: BL_AmartureObject.channels returns only ↵Benoit Bolsee
one channel. Fix BL_ArmatureChannel.joint_rotation now that bPoseChannel structure is passed directly to the get function.
2010-08-25bugfix [#23495] unable to pack file, source path not found: "<builtin>"Campbell Barton
2010-08-25bugfix [#22819] Grease Pencil: OpenGL render incorrect if view mode, OK with ↵Campbell Barton
cursor mode also made drawing in camera view stick to the camera border (belated durian request), useful for animation review without worrying about screensize moving the overlay about.
2010-08-25Fix: Colour picker wheel wasn't gamma corrected - drawing too darkMatt Ebb
2010-08-25Allow per-pixel inputs into displace node x and y scaleMatt Ebb
(previously only used constant values)
2010-08-25Fix/addition for recent RNA collections active index changes -Matt Ebb
added scene render layers.active property and updated UI file
2010-08-25Bugfix #23439 and #23453: Auto Keying not working in newly created Scenes.Joshua Leung
The UserPrefs Default was never getting initialised correctly, so new scenes would not get the default AutoKeying mode set correctly ("add but off"). I remembered fixing some problems like this before, but it seems that fix only fixed old files vs the user-prefs for new scenes.
2010-08-25rename most scons build targets to match cmakeCampbell Barton
2010-08-25bugfix [#23456] context.main.filepath lost after undoCampbell Barton
G.sce was being restored after undo but not G.main->name also changed reading a new file so G.main->name gets set to the startup.blend even if its not on the disk, not ideal but would set to <memory2> otherwise.
2010-08-25bpy.context.manager.clipboard get/set function (to get/set the Clipboard ↵Dalai Felinto
from a script) Thanks Campbell - one day I get used to C pointer management hell :) * when using it to get, the whole string comes in one single line with Linux EOL (\n) * works only for text
2010-08-25bugfixCampbell Barton
- image filepath in the image view would only be set when first loading a frame. - check to free animated image buffers on opengl render was comparing against the wrong value.
2010-08-25Applied patch #23379. Does not change existing .blend files and looksRobert Holcomb
good.
2010-08-25fix for image sequence ranges Campbell Barton