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-09-01moving import/export scripts into packages (just moving scripts, need to add ↵Campbell Barton
__init__.py still, temp break import/exporters)
2010-09-01cleanup duplicate GPL haeders, blender made 2.4x __bpydoc__ into __doc__, ↵Campbell Barton
removed version info, (thats what svn logs are for). also moved create_derived_objects & free_derived_objects into io_utils, used by x3d and 3ds.
2010-09-01use mix-in classes for import export operators, these define the filepath ↵Campbell Barton
property and invoke function at the moment.
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-28obj export fix for meshes with no UV texturesCampbell Barton
2010-08-27OBJ export nurbs curves now export again.Campbell Barton
2010-08-24- move more active properties into their collections:Campbell Barton
scene.active_keying_set --> scene.keying_sets.active ...same for active_uv_texture. active_vertex_color, active_keyconfig, - move mesh.add_uv_layer() and mesh.add_vertex_color() into their collections also have them return the newly created layer and dont set the layer active. uvtex = mesh.uv_layers.new(name) vcol = mesh.vertex_colors.new(name)
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-08-18rna naming: verts -> verticesCampbell Barton
2010-08-15speedup and cleanup of OBJ exporterCampbell Barton
2010-08-13exporters now set the filepath in the invoke() method rather then the menu ↵Campbell Barton
drawing function.
2010-08-11mathutils module methods only contained matrix constructors, move these to ↵Campbell Barton
matrix class methods since this is acceptable in python. eg: dict.fromkeys() and groups them more logically. mathutils.RotationMatrix -> mathutils.Matrix.Rotation mathutils.ScaleMatrix -> mathutils.Matrix.Scale mathutils.ShearMatrix -> mathutils.Matrix.Shear mathutils.TranslationMatrix -> mathutils.Matrix.Translation mathutils.OrthoProjectionMatrix -> mathutils.Matrix.OrthoProjection
2010-08-09OBJ Export:Thomas Dinges
* Removed duplicate use_animation variable, sorry! * Added some descriptions.
2010-08-09OBJ Export:Thomas Dinges
* Script was broken, fixed. * Started some code cleanup, mainly variable names. * Tabs > Spaces
2010-08-06bugfix [#23194] export UVs miss the extension fileCampbell Barton
also made all other exporters do this. Made some internal changes. - moved path functions from bpy.utils to bpy.path (similar to os.path) - added functions... bpy.path.ensure_ext(path, ".ext", case_sensitive=False) # simple function to ensure the extension is set. bpy.path.resolve_ncase(path) # useful for importing scenes made on windows where the path case doesnt match the files.
2010-08-03Export OBJ script:Thomas Dinges
*Removing some ancient lines.
2010-08-02RNA Types metaclass registrationMartin Poirier
See mailing list posts for details [1][2][3] Addons still need to be fixed; Campbell said he'd do it today. See any of the py files (outside netrender) in this commit for how to do it (it's rather simple). [1] http://lists.blender.org/pipermail/bf-committers/2010-February/026328.html [2] http://lists.blender.org/pipermail/bf-committers/2010-August/028311.html [3] http://lists.blender.org/pipermail/bf-committers/2010-August/028321.html
2010-07-27bugfix [#23046] export obj "selection only" issueCampbell Barton
2010-07-26[#23035] Obj export crashCampbell Barton
check for an active object before switching modes.
2010-07-17spelling correction: alredy --> alreadyCampbell Barton
2010-07-14bugfix [#22843] Cannot export to folder with ".blend" on the end.Campbell Barton
2010-07-03rna api:Campbell Barton
rename object.matrix --> matrix_world added object.matrix_local (parent relative matrix)
2010-06-14naming changesCampbell Barton
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-06-02rename some rna properties filename --> filepathCampbell Barton
* filename == "foo.ext" * filepath == "/path/to/and/including/foo.ext" this was alredy followed in some places not not everywhere.
2010-04-11PyAPICampbell Barton
- added new mathutils.Color() type, use with rna so we can do for eg: material.diffuse_color.r = 1.0 # also has hsv access material.diffuse_color.s = 0.6 - made Mathutils and Geometry module names lowercase.
2010-04-06Object API changes so these functions now require a scene as first argument:Brecht Van Lommel
create_mesh, create_dupli_list, make_display_list and is_visible. This is done in order to make these context independent as the RNA API should be as much as possible, and to fix #21297 and #21719, where there was an assumption from these functions that there is a scene in the context, which does not work for external render engines exporting in a separate thread. Also avoided using context in a number of other functions, ideally only UI/WM type functions should use context. I've updated the scripts in trunk, but the addons and external ones in development will need updates too.
2010-04-05Fix [#21886] OBJ export crashes if attempted while in edit modeMatt Ebb
Didn't crash for me, but did export incorrectly since editmode changes weren't flushed. Fixed this by setting all exporters to go back to object mode before exporting. Also cleaned up some naming in exporter creator strings, it's "Blender" not "Blender3D".
2010-04-02rna naming, *_frame --> frame_*Campbell Barton
2010-03-27Fix #20716: using wavefront .obj exporter multiple times could crashBrecht Van Lommel
because references to materials from previous exports were not cleared.
2010-03-02fix for OBJ exporting Texface imagesCampbell Barton
2010-02-26remove rna functions image.get_export_path() and image.get_abs_filename(), ↵Campbell Barton
filename functions should not be spesific to images. rename BKE_get_image_export_path() to BKE_rebase_path() and take a filename arg rather then an image. obj export file copy was also not working because of a missing import.
2010-02-23pep8 cleanup + correction for external player operator return value.Campbell Barton
2010-02-22bugfix [#21233] Crash in pyapi, with new object.Campbell Barton
pass the obdata as an argument rather then assigning later so as not to allow an invalid state.
2010-02-16[#21177] Text editorCampbell Barton
Running scripts directly didnt call the register function, even though this is not essential its good to be able to run a script directly and see changes in the UI.
2010-02-15Inline tooltips and descriptions of export/importDaniel Salazar
Random fixes and tweaks in names and tooltips
2010-02-14change python scripts so modules which register with blender have a ↵Campbell Barton
register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
2010-02-12correct fsf addressCampbell Barton
2010-02-09[#21039] OBJ import Clamp Scale limited to .01 as lowest Value. Used to be ZeroCampbell Barton
[#21053] 2.5alpha0 export obj problem + some minor changes.
2010-02-07mat/lamp/world.textures -> texture_slotsCampbell Barton
object.materials -> material_slots since neither contain textures or materials directly.
2010-02-02obj export broke since api updates to mathutilsCampbell Barton
2010-02-02subtype support for properties in bpy.props.Campbell Barton
2010-01-31pep8 changesCampbell Barton
2010-01-27Missed these files in the last commit ..Matt Ebb
Also meant to mention, on the todo: show the confirmation before closing the file selector, rather than afterwards where it's inconvenient and easy to miss...
2010-01-20BPY: fixed iteration over and slicing of multidim. arrays.Arystanbek Dyussenov
2010-01-16Workaround to fix #20645. Iteration over multidim arrays and slicing of them ↵Arystanbek Dyussenov
is broken. Before fixing this I'd like to clean BPY a bit.
2010-01-10RNA/Py APICampbell Barton
change how data is added. eg. bpy.data.add_mesh(name) --> bpy.data.meshes.new(name) bpy.data.remove_lamp(lamp) --> bpy.data.lamps.remove(lamp) image and texture stil use add_* funcs
2010-01-03new python submodule. eg.Campbell Barton
from bpy.app import binary_path, version, version_string, home can add constant variables from blender here as needed (maybe functions too... bpy.app.memory_usage() ?)
2009-12-28new python module constantsCampbell Barton
* bpy.home - result of BLI_gethome() * bpy.version - BLENDER_VERSION/100, BLENDER_VERSION%100, BLENDER_SUBVERSION * bpy.version_string, as above, formatted: "%d.%02d (sub %d)"
2009-12-26replace dynamic_menu.py with Menu classmethods much less complicated.Campbell Barton
access append/prepend eg. bpy.types.INFO_MT_file_import.append(lambda self, context: self.layout.operator("import_some.format"))