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
2008-10-28bpy access to image premul was missing.Campbell Barton
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.
2008-04-18Used GET_INT_FROM_POINTER to get rid of many warnings that only occurred ↵Campbell Barton
with 64bit os's Also use Py_ssize_t which we might need to define for older python's
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-03-27made editmode only force smooth shading when vcols are present (as joe ↵Campbell Barton
suggested) pythons api's image.unpack() was broken
2008-03-12Moved recent addition of get/setPixelF to get/setPixelHDR and kept ↵Campbell Barton
get/setPixelF limited to 0.0-1.0 range, to prevent existing scripts breaking.
2008-03-10Applied [#7076] Updated Python Image API to use float buffers in ↵Campbell Barton
getPixelF/setPixelF and added an image.updateDisplay() function to update imbuf->rect from imbuf->rect_float also corrected some docstrings and epydocs
2007-12-29* Displacement map bakingMatt Ebb
This is an extension on the work Brecht already did to implement normal map baking. I've updated the release notes page here with info and pics: http://www.blender.org/development/current-projects/changes-since-244/render-baking/
2007-12-17Reverting to 2_2x BPYMartin Poirier
I was careful in selectively rolling back revisions, but if you've committed changes unrelated to BPY mixed with BPY changes, I might have reverted those too, so please double check.
2007-07-12From stableCampbell Barton
Revision: 11237 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11237 Author: campbellbarton Date: 2007-07-12 13:05:31 +0200 (Thu, 12 Jul 2007) Log Message: ----------- PyObject_IsTrue was missing a check for an error return value in many cases.
2007-06-29remove unneeded checks from the python APICampbell Barton
2007-06-16Python PyMethodDef supports single argument methods (METH_O) but was using ↵Campbell Barton
METH_VARARGS everywhere and getting the single args from the tuple. Use METH_O where applicable.
2007-05-28more memory leak fixes, though only a few are likely to happenCampbell Barton
2007-05-26More memory leaks fixed - in IDProp, Bone.head, tail, matrix, ob.DupObjects ↵Campbell Barton
(my fault) and in Effect module as well as a few others. Also stopped using Py_BuildValue for strings, ints and floats.
2007-05-22Bugfix for python Image.save()Campbell Barton
[ #6702 ] Image doesn't get saved after painting & packing IMB_saveiff - (general saving function), does not write a file when the image is packed. so write a file with writePackedFile for packed files.
2007-05-03== UV/Image Editor ==Juho Vepsalainen
Patch #6570. This patch adds color and alpha selectors to Image -> "New..." dialog.
2007-04-20[ #6442 ] image.repack (Python)Campbell Barton
- Modified pack so it can repack too, rather the n raising an error. editobject - Dont need to recalc data when hiding and unhiding. rather do what layers do and re-sort the scene.
2007-03-31Python APIKen Hughes
---------- 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.
2007-03-26Python APICampbell Barton
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)
2007-03-15removed unneeded dealloc functionsCampbell Barton
2007-03-15removed duplicate functionality, macro's and functions existed to check a ↵Campbell Barton
PyObjects type, now only use macro's
2007-03-13renamed norepeatX/Y to ClampX/YCampbell Barton
2007-03-12added no-xtile and no-ytile to the images realtime properties and python api.Campbell Barton
2007-03-11moved python functions that deal with blender libdata into gen_library.c ↵Campbell Barton
from gen_utils and BPY_interface small cleanup, removed unused functions and explicetly cast pointers..
2007-03-10Python APIKen Hughes
---------- Added Image.source attribute, so image type can be get/set for still, movie, sequence or generated images.
2007-02-26console.pyCampbell Barton
* improved autocompleation * faster dictionary usage Types.c * type(scene.getTimeLine()) # old bug, will crash blender
2007-02-25Image.cCampbell Barton
* moved to getseters (use new generic ID funcs) * added 'reflect' attribute Text.c * moved to getseters (new generic ID funcs too) NLA.c * moved to getseters (ditto) Ipo.c * bugfix, allow nested loops on an IPO's curves. Blender.c * removed undocumented function RemoveFakeuser, since actions now have the fakeUser attribute.
2007-02-25made attributes (name, property, users, fakeUser, lib) into functions all ↵Campbell Barton
python types can use. removed a lot of code duplication when moving to this. Also removed unused functions GetMaterialByName(), same for Mesh, Object, World etc.
2007-02-23BPython APICampbell Barton
* Added data.lib attributes to almost all data types, (except for Text3d and NLA) This is None or the path of the library as a string. * Main was giving a warning, Include Curve.h rather then CurNurb.h * Added Library.LinkedLibs(), returns a list of externaly linked libs.
2006-12-27renameing datablocks was imposing a name limit on the python side.Campbell Barton
This isnt needed because the limit is alredy being set by rename_id() some other minor changed- use None returning maro
2006-12-23Arnaure.Get() now raises an error when the name dosnt exist. added warning ↵Campbell Barton
in docs. Image - added img.fields, img.fields_odd, img.antialias, also updated the docs. replaced Py_BuildValue with faster list creation for getPixel functions.
2006-12-20The Big Image refactor!Ton Roosendaal
Please read: http://www.blender3d.org/cms/Imaging.834.0.html Or in short: - adding MultiLayer Image support - recoded entire Image API - better integration of movie/sequence Images Was a whole load of work... went down for a week to do this. So, will need a lot of testing! Will be in irc all evening.
2006-11-19=ID Properties Python Update= Joseph Eagar
ID Properties binding have now been added for textures. Also, the beginnings of supporting "del IDProperty Object" (which basically removes the property from it's parent group then frees it) in python were done; really the only thing now is to figure out exactly *how* you overload the del operator. :S
2006-11-17Get rid of various warnings with gcc under linuxKen Hughes
2006-11-17=ID Properties Update= Joseph Eagar
This commit adds file reading/writing of ID properties to all ID types, and also adds python access for NMesh, Mesh, Scene and Image. Note that the file reading code might need some more work for certain future/planned features to save right. Also I updated a few comments in idprop.c.
2006-10-06added comparison function to many python types so you can do == and =!Campbell Barton
2006-09-21from looking at patch 4934 made all user preference paths settable with ↵Campbell Barton
Blender.Set('val', data), also added exception errors which were on the todo. image.filename was being limited to FILE_MAXDIR rather then FILE_MAXDIR + FILE_MAXFILE when setting.
2006-09-21Setting the image name was raising an error.Campbell Barton
2006-09-17renamed Blender.Image.SetCurrent(img) to img.makeCurrent() to be consistant ↵Campbell Barton
with scene. applied patch #4998 (array count), as well as adding other array settings, updated documentation as well. added EXPP_setVec3Clamped() as a way to set a vector from getset attrs (used with array offset and scale)
2006-09-16New images were being initialized with zero users (normal for other data types),Campbell Barton
but for images user counts work differently. (just noticed this is what blender does so Image.New() now does the same) Many of the sys functions had maximum path thengths that were too short. char path[FILE_MAXFILE]; rather then char path[FILE_MAXDIR + FILE_MAXFILE];
2006-09-16Python Metaballs api refactor, based on Mesh and Group modules.Campbell Barton
* removed get/set in favor of setsetattrs * added an element iterator to the metaball data type. * now accepts vectors and quat for location dimensions and rotation. and other small changes. Docs updated shortly at. http://members.iinet.net.au/~cpbarton/ideasman/BPY_API/Metaball-module.html other changes typo in image.c metaballs constants in buttons_editing
2006-09-16added Image.SetCurrent(img) and img.has_data so you can see if an image ↵Campbell Barton
contains pixel info.
2006-07-19===Python API===Ken Hughes
Bugfix: using Image.GetCurrent() and image.save() on the "Render Result" image could result in a segfault since image->ibuf was NULL. This change forces ibuf to be created if necessary. NOTE: the Image API needs additional methods/attributes for image.save() to really do anything useful. The image type, quality, etc., don't seem to be gettable/settable so the resulting image file may not be in the format the user would like.
2006-05-26* bug fixJoseph Gilbert
[ #4228 ] Blender.Image.Load(filename) loads only on the first loading - Image.Load() will now reload the image buffer when a image of the same name is loaded again - small textual change in render code
2006-05-19Image and Draw wernt converting the paths of an image properly.Campbell Barton
Getting teh size of an image with a relative path "//foobar.png" would always fail.
2006-05-06Applied pack unpack from Pablo Martin (caedes),Campbell Barton
http://projects.blender.org/tracker/?func=detail&atid=127&aid=3246&group_id=9 adds Blender.c: Blender.UnpackModes (dict with the unpack modes) Blender.UnpackAll(mode) Blender.PackAll() Blender.CountPackedFiles() Image.c: image.packed (this was working) image.pack() image.unpack() Sound.c: sound.packed sound.pack() sound.unpack()
2006-04-16a little spring cleaning to remove some compiler warnings forStephen Swaney
implicit declarations, redundant redeclarations, missing initializers, nested externs and other cruft. Cleaned up includes and moved extern _Type decls from Types.h into Types.c since that is the only place where they are needed now. Did not touch Ipo.[ch] since work is on-going there.
2006-03-26Added python image pack/unpack per image.Campbell Barton
2006-03-22===Python API===Ken Hughes
Two small bugfixes: * Image.New() resets id.us to 0; it is set to 1 by new_image() * allow ima.depth and ima.size getters to propagate their own error messages (missing image was returning MemoryError) Also, seems to me there's something funny going on with image id.us accounting. In do_image_buttons(), id.us is set whenever an image is accessed vi the datablock menu: if(idtest!=id) { G.sima->image= (Image *)idtest; if(idtest->us==0) idtest->us= 1; allqueue(REDRAWIMAGE, 0); } This is independent of whether a UV face is selected or not (and it also seems that the number of UV faces linked to an image is not maintained either).
2005-12-18fixed returning true/false, thanks Willian. as well as removed the image ↵Campbell Barton
space spesific image changed call.