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
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-10Math LibBrecht Van Lommel
* Pre-conversion commit removing old arithb.c code, this will not compile, next commit fixes that.
2009-11-10NULL pointer check to prevent some crash in background modeMartin Poirier
2009-11-10Running with -d, python context also prints members asked from context that ↵Martin Poirier
are present. Also, error messages were mixed up, wrong type and not present where inversed.
2009-11-10Add Sticky was essentially a blank operator. Possibly context functions ↵Roland Hess
weren't around for this one when it was first looked at. Re-attached so it works now.
2009-11-10Math LibBrecht Van Lommel
* Fix remaining issues before conversion. * Inline various vector functions, currently enabled for all platforms. I expect this to work in GCC/MSVC at least, if other platforms don't support it, #ifdef's can be added.
2009-11-10Function declaration for BPY_context_getMartin Poirier
2009-11-10fix error with python exceptions in BPy_errors_to_reportCampbell Barton
2009-11-10modify the python context access so invalid names will raise an exception ↵Campbell Barton
rather then returning None. this way the UI scripts are less likely to fail silently and wont let typos work ok. also allow subclassing of the context, added a copy function, bpy.context.copy(), returns the context as a python dict to be modified and used in python. This also showed up an invalid brush member in the screen context.
2009-11-10fix for own error in active bone commit, wasnt checking object type was an ↵Campbell Barton
armature also fix for warning with printf
2009-11-10Fix for math lib commit, had duplicate definitions of functions,Brecht Van Lommel
giving build issues on some platforms.
2009-11-10Bugfix #19835: While playing animation, Render>Dimensions>FrameRate does not ↵Joshua Leung
change animation speed The timestep used for the playback timer now gets adjusted accordingly when the frames-per-second setting gets changed during playback (i.e. in the "animation_step" operator). This is not as ideal as only updating this when the framerate setting is changed, but using an appropriate update function for this failed miserably.
2009-11-10Fix for [#19847] Joined meshes fail to renderMatt Ebb
Join function was accessing invalid memory for material indices when no materials were originally present on the joining objects
2009-11-10Fix for [#19852] Animation rendering not working in new sceneMatt Ebb
As part of this commit, I moved the scene frame_step to RenderData, where the other frame-related data is.
2009-11-10Fix inconsistent order in Image editor alpha display buttonsMatt Ebb
2009-11-10Fix for [#19855] Color Ramp Interpolation is not workingMatt Ebb
2009-11-10* Finished (well, almost ;) RNA wrapping and layout-engine-ing all the nodes.Matt Ebb
Still a few quirks, including redraw issues on multilayer image input nodes, but it's pretty much there. Would also be good to wrap the input/output sockets, too, will check on it. This fixes bug [#19740] INPUT NODE: Cannot load images / motion pictures
2009-11-10* Small UI drawing tweaks, part of it allowing a bit of extra space for text ↵Matt Ebb
in number fields
2009-11-10Bugfixes for Armatures, SplineIK, and F-Curve RNA:Joshua Leung
* Fixed the handling of the 'draw_active' flag for drawing of armatures. This is now cleared from bones in old files (so one bone always got represented as active in the viewport even when others were selected), and the flag is correctly set temporarily when drawing the bones (only one place had been done). * Fixed typo with SplineIK that was making the root bone of the bone chains always be ignored. Similar functionality can come back at some point, but in a more useful form. * Shortened the UI names for the F-Curve colouring modes to increase readability. The old ones were too long to be able to distinguish between entries in the UI.
2009-11-10Don't free Context from python.Martin Poirier
There might be a better way to do this, Cambo, please check. This solves the Totblock == -1 error
2009-11-10Math Lib ReorganizationBrecht Van Lommel
* New header and source files. * Still need a few tweaks before switching code to use them.
2009-11-10use armature active bone as a pointer rather then a flag for each bone that ↵Campbell Barton
needs looking up. - rna vars arm.bones.active & rna.edit_bones.active - needed special undo support. - readfile.c loads. - duplicate and copy_armature support. - keep the draw flag, renamed to BONE_DRAW_ACTIVE, only use for openGL drawing. Note: it may be better to allow active/unselected as with objects.
2009-11-09Add FFTW3 support to Makefiles, make OpenJpeg use OS lib for Linux.Guillermo S. Romero
And handful of whitespace clean ups.
2009-11-09Update of older commit (23102) from Bob Holcomb -- fix for Darken mode ↵Roland Hess
blending was only in place for nodes, not for general texture blending. This updates texture blending to reflect the fix. Now results don't trend toward black on Darken anymore as factor approaches 0.
2009-11-09- scons fix for linux buildDamien Plisson
2009-11-09Mac :Damien Plisson
- scons update to build with openCollada - scons & cmake update for render optimization cflags
2009-11-09- fix Cocoa window setOrder function to maintain focus on a blender window ↵Damien Plisson
(e.g. ensure the blender window gets the focus when the user presses ESC to move back the render window) - QuickTime export fixes. Note that QuickTime export still crashes because it tries to open a "codec settings" dialog from the rendering background thread (and not the main/UI thread). One quick fix may be to move the movie export initialization out of the render thread back into the operator function. But a cleaner way would be to get rid of such a carbon/win32 dialog and place the codec settings inside blender interface (additional fields in the output panel as it is currently the case for other file formats ?).
2009-11-09material shader curve factor (same as compo node)Campbell Barton
2009-11-09* Fixing tooltips: "ratraced" > "raytraced". Patch by Oxben on mailing list. ↵Thomas Dinges
Thanks.
2009-11-09workaround for crash when dragging nodesCampbell Barton
2009-11-09- added particle select_inverseCampbell Barton
- added select root/tip to the select menu - selection drawing updates for select more/less were not working
2009-11-09OpenGL grease pencil renderCampbell Barton
Algorith: needed to add some functions since offscreen render doesn't have a context pointer - draw_gpencil_3dview_ext - gpencil_data_get_active_v3d
2009-11-09Fixed this startup crash on windows:Robin Allen
- cd to blender dir - type 'blender' - crash
2009-11-08*Small tooltip fix for strand start/end.Thomas Dinges
2009-11-08Sequencer: (small Durian wish)Andrea Weikert
* new operator: set rendersize (SEQUENCE_OT_rendersize) sets the render output size in the current scene to the size of the active sequence strip * works for movies and images right now * TODO: currently only works if image or movie strip has been loaded (as in showing the preview for example) - reason is that otherwise the size is not initialized in the strip
2009-11-08support much longer prompts for the consoleCampbell Barton
2009-11-08Nodes:Thomas Dinges
* Slight offset tweak for Node header icons, not so cluttered now.
2009-11-08Graph Editor Drawing Tweaks:Joshua Leung
* When there is only a single keyframe for a F-Curve, the handles aren't shown anymore. This looks nicer than the fat orange blobs that appeared * Tweaked the management of GL_BLEND when drawing animation channels in the Graph Editor in an attempt to fix some of the missing text drawn issues. * Converted the properties panel to use layout engine + added color selectors
2009-11-08bpy/rna api class featureCampbell Barton
- python defined classes will be used when available (otherwise automaically generated metaclasses are made as before) - use properties rather then functions for python defined rna class's - call the classes getattr AFTER doing an RNA lookup, avoids setting and clearing exceptions for most attribute lookups, tested UI scripts are ~25% faster. - extending rna py classes this way is a nicer alternative to modifying the generated metaclasses in place. Example class --- snip class Object(bpy.types.ID): def _get_children(self): return [child for child in bpy.data.objects if child.parent == self] children = property(_get_children) --- snip The C initialization function looks in bpy_types.py for classes matching RNA structure names, using them when available. This means all objects in python will be instances of these classes. Python properties/funcs defined in ID py class will also be available for subclasses for eg. (Group Mesh etc)
2009-11-08pep8 whitespace commitCampbell Barton
bpy/rna api (no functionality change, just move getting the srna py base into a function)
2009-11-07Merge -c 24393 (patch by Jan) from COLLADA branch.Arystanbek Dyussenov
2009-11-07- added console language typeCampbell Barton
- separated python console from the interactive console - added shell console type (simple example) - console types are autodetected and can be selected in the menu
2009-11-07- modal keymap for border selectCampbell Barton
- revert circle select keys adjustments & view navigation while selecting (durian guys liked but allowed activating multiple circle select's at once)
2009-11-07Fix for transform orientation fix, probably forgot to commit this?Brecht Van Lommel
2009-11-07Bugfix: crash in posemode transform buttons with no active pose bone.Brecht Van Lommel
2009-11-07Make orientation matrix access function public.Martin Poirier
Fix bug in previous code: passing 3x3 matrix to a function expecting a 4x4 (warnings are for something)
2009-11-06B.blend.c update. Only change is that brushes and panels are not saved, soBrecht Van Lommel
that they will be recreated with defaults settings/order.
2009-11-06experemental durian request, allow view manipulation while using circle selectCampbell Barton
2009-11-06- removing the last particle system now exits particle edit mode.Campbell Barton
- py UI script used an undeclared variable
2009-11-06Driver Scripting:Joshua Leung
Added RNA functions for adding and removing Driver Targets. Unfortunately, I couldn't do this by simply adding callbacks for the add/remove of the collection, as I've had to add to extra RNA functions to do that. Example usage - driving Lamp Distance with Cube LocZ: myOb= bpy.data.objects["Lamp"] myOb.driver_add("data.distance") # drivers is list of F-Curves that have driver data drivers= myOb.animation_data.drivers distDriver= drivers[0].driver dtar= distDriver.add_target("ctrl1") dtar.id_type= 'OBJECT' dtar.id= bpy.data.objects["Cube"] dtar.rna_path= "location" dtar.array_index= 2