Age | Commit message (Collapse) | Author |
|
|
|
quadToTriangle() crash, was a missing depsgraph update.
|
|
unweld - warn that this tool destroys MultiUV/Col's (because of NMesh)
API_intro and NMesh - note that NMesh is maintained but deprecated.
|
|
Existing data is flagged with LIB_APPEND_TAG and all_local only has an option to only operate on un-flagged data.
If you append an object thats linked to a material alredy linked in your scene, the material will not be made local.
So at worst youll need to make local some of the datablocks.
This is fairly simple and though my tests show it to work, do some tests on your own libraries before assuming its problem free.
scripttemplate_mesh_edit wasnt updated with PyAPI changes and moved some functions into generic places.
|
|
* PyApi access to this constraint
* Also, a minor tweak to one of the comments about one of this constraint's variables.
|
|
Adding Python counterparts to the Invert params for Copy Rot and Copy Loc.
I had to align the constants being used, so if you had files using those options (introduced after 2.43), you'll have to modify the INVERT settings for ROTLIKE constraints (didn't feel like making a minor version bump for this, if people thing otherwise, please say so).
Based on a patch by Juho Vepsäläinen (bebraw)
|
|
|
|
other areas of Python API), this could break existing scripts that count on new data being unselected (unlikely)
* Added a keyword argument to mesh.transform() - "selected_only" so you can transform the selected verts. this wont break existing scripts.
* Documented these changes in epydocs.
* used these functions in BPyAddMesh
|
|
----------
Fix memleak caused by missing Py_DECREFs (good catch, Campbell).
|
|
* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling
|
|
* refactor of shi access
* extension of shi access (see http://wiki.blender.org/index.php/BlenderDev/PyNodes#ShadeInput).
Note: tex_coords and global_tex_coords have been renamed: texture, texture_global
* patch still needed. Uploading after commit
|
|
* changes in alloc/dealloc of pynode internal objects
* changes to shd_dynamic.
|
|
----------
Added missing definition for NMEdgeType in Types modules.
|
|
|
|
----------
Convert charRGBA to tp_getseters, update PyTypeObject structure to initialize
all the proper values, and use PyType_Ready to initialize (this means we can
remove the local tp_dealloc function again).
|
|
reverting python dealloc function removal, caused Save Theme to crash.
|
|
----------
Replace extern declarations for IDProp types with header include.
|
|
----------
Change deprecation printfs to print warning once instead of everytime the
deprecated method is called. Also commented out deprecation warnings for
code which will eventually be replaced by experimental Blender.Main/bpy
module.
|
|
image_billboard.py - was broken because textures dont accept the antialias flag anymore
|
|
|
|
because it wrote the 4th value in a 3d vector.
|
|
if scn is the active scene it uses the 3d views active layer to create the object in.
|
|
remove unused var from Library.c
|
|
|
|
-Adding name "self" to the pydriver's dictionary, so that objects can be easily referenced in their own expressions. For example, the expression:
self.LocY
for the LocX channel of an object would force this object's location in X to be equal to its location in Y. As always, feedback welcomed.
|
|
import OBJ dosnt raise a Py Error when no image is given for a material
export FBX works much better, tested 179 models and dosnt crash on any now. tested import export with large scene, 375,000 tri's.
Mesh.py doc note about UV coords,,
editmesh_add minor typo
|
|
|
|
Note: the intent of the original modification (and these updates) is not to
change how new_id() functions. What has been done is to pull out the code
which calculates a new name for an ID in the case of duplicate, as would
happen when you copy any datablock, into a separate function. This code is
necessary in the new Python Library module, since it otherwise is extremely
difficult to locate a new datablock appended from a library. new_id() calls
this separate function to generate a name for the new ID if necessary, just
as it previously did.
To make the purpose of this new function clearer, I renamed it
check_for_dupid() and added more extensive comments. I repeat, it's not
meant to be a substitute for new_id().
|
|
----------
Fix gcc compiler warnings.
|
|
some py versions are formated as major.minor.subversion.
Clean up some old comments.
|
|
bpy.*libBlickSeq*.new() - name is now an optiona arg.
moved some more scripts to bpy.* api.
|
|
curve - added curve_type() to return the curve type
BPyModule & gen_library - works with text3d now, can also make new text3d through bpy.curves.new
Added Draw.Label() so scripts can draw can using freetype.
widgetwizard - use Draw.Label
|
|
* stopped bpy from importing automaticaly as decieded in the meeting.
* removed Blender.Main, since we agree it will be called bpy, renamed files also.
* updated epydocs from this and last commit.
* updated scripts to use bpy.*, and bugfix's for widgetwizard
|
|
removed .load() from bpy.*dataseq* - Use .new(filename='') instead as discussed at the meeting.
|
|
|
|
made all libdata hashable - use the object type,name and lib for the hash.
added .tag to libdata so we can test if data's been processed without using dictionaries
added libdataseq.tag (write only) setting the tag flag (which can always be dirty)
|
|
This adds option to show camera angle instead of camera lens value.
(Complete revised patch...)
|
|
made LSCM UV Unwrapper use boxpack2d
|
|
|
|
----------
Roll back to previous version; didn't mean to commit changes with Py_GetVersion
just yet!
|
|
----------
Support for new bpy.libraries module, which is being proposed to replace
the Blender.Library module.
|
|
----------
Definition of default "bpy" module was decrementing reference count, which
caused assertion errors on Windows. This fixes the problem on Linux; Win
developers please test!
|
|
|
|
packing 2400 rectanges is about 38x faster.
Use the C implimentation in uvcalc_lightmap and uvcalc_smart_project
Blender.c - filename returning None raises errors with existing scripts, just return "" so string functions on the filename dont raise an error.
|
|
|
|
applied. tested and this is how "filename" should work, so changed Blender.Get("filename") to return None instead of the last opened file.
|
|
|
|
*printf functions.
|
|
passed in general.
|
|
----------
Bug reported on IRC: Object.setEuler(0,0,0) threw an exception. Change so
it will accept (0,0,0), ((0,0,0), ([0,0,0]), or an euler.
|