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
2006-09-26removed .parent by mistake in Object.cCampbell Barton
made some of the importers raise a nice error if a file disnt exist rather then a python error. will eventually apply to all.
2006-09-26Some UV/Image window changes:Brecht Van Lommel
- A new Save image function, next to the existing Save As. - Shortcut keys Alt+S, Alt+R, Alt+O and Alt+N for Save, Reload, Open and New image respectively, consistent with the text editor window. - Hide Select and UVs menus when UV editing isn't active. - Removed duplicate and unused code, also moved some functions.
2006-09-25corrected image doc mistake - image.makeCurrent()Campbell Barton
BPyRender.imageFromObjectsOrtho() returns an image Made all image bake scripts ask before overwriting a file. as well as displaying the newly created image once its rendered.
2006-09-25Fix for bug #4828: random rotations of uv charts after unwrapping.Brecht Van Lommel
This never worked that well, so now after unwrapping, uv charts are rotated to fit in their smallest enclosing rectangle. This should give the expected behavior in the most common cases.
2006-09-25Last commit broke the smear brush, thanks Jens for spotting this.Brecht Van Lommel
2006-09-25* This should have come along with the proportional edit commit. tsk tsk.Matt Ebb
2006-09-25Bugfix #5034Ton Roosendaal
When using new Shadowbuffer option "Auto clip", the clipping planes could become so narrow that sampling code - using ints - could result in overflows (sign flip). This especially for small shadow buffers with high bias values. This fix adds an extra check in shadow sampling for such overflows.
2006-09-25* tweak to outliner line colourMatt Ebb
2006-09-25* Gave curve transforms Tilt and Shrink/Fatten a home in the v3d menuMatt Ebb
2006-09-25* Proportional edit mode 'random' falloffMatt Ebb
This is another proportional edit falloff that slightly randomises the influence. It's not strictly random, it's blended with linear falloff so that it's a bit smoother. The nice thing is that it works with all transforms, axis locking etc, including the special ones like to sphere, shrink/fatten/etc. It can be used for all sorts of things like roughening surfaces. I most recently used it to add a bit of randomness to the folds of some cloth. I made a short demo video here: http://mke3.net/blender/etc/prop_random-h264.mov Also included nicer icons for the falloff types.
2006-09-25A possible problem was noted by Cyril Brulebois regarding copyright issuesAlfredo de Greef
with regards to the noise functions in yafray based on Ken Musgrave's original code. I had left the 'Copyright' notice in the comments, and according to Cyril Brulebois this is a problem. In fact, from what I understand this makes it even impossible to use or modify the code in other software. But since it is not a verbatim copy of the code but rather based on Musgrave's work, he suggested I change it to explicitely state that it is in fact based on the code from the 'Texturing & Modeling' book. And since the yafray code is in turn based on the blender code, I better adapt the blender code too. This reminded me that I also have forgotten to include the copyright notice in the mersenne twister rng code I used for the Python Noise module. This does clearly state to include the original notice with any resdistributed code, in modified form or not. So I added that too. I hope that solves the problems.
2006-09-25* Added backwards compat check for curve radius value, so old files act ↵Matt Ebb
properly.
2006-09-25* Updated the auto-generated UV test image (Image Editor -> Image -> New). TheMatt Ebb
previous one was ok as a quick fix during orange and showed distortion obviously but it was kind of extreme, and I'd rather not be blamed for causing blindness or brain tumours because of it. This pattern is nicer, and still shows distortion and its location on the map well.
2006-09-24Basic pressure sensitivity support in imagepaint, for opacity, size,Brecht Van Lommel
falloff and spacing. Click the button labeled "P" next to the sliders. Works best for opacity, other options can give poor quality strokes in some cases. Also performance needs to be improved. Remember, works only on X11 and Mac, no Windows support for tablets yet.
2006-09-24fixed mistakes and warnings in previous commit.Campbell Barton
2006-09-24New render feature:Ton Roosendaal
If you define multiple RenderLayers with different view-layers, these view-layers are rendered entirely, not looking at the faces that are invisible. This allows layered composite, but only when geometry does not intersect or overlap partially. This new Renderlayer option "All Z values" will fill in the Z of not visible faces (in the Scene view-layers) as well, which then allows masking out as if these faces were set to Material option "Env". Here's an example composite to show the effect: Two cubes, in view-layers 1 and 2, and rendered in 2 RenderLayers: http://www.blender.org/bf/all_z0.jpg Same scene, but with both RenderLayers set to "All Z values": http://www.blender.org/bf/all_z.jpg
2006-09-24Extra generic errors for Scene, Groups and Metaballs to raise errors when ↵Campbell Barton
trying to do anything with a python objects thats had its data removed in Blender. Added to existing scn.objects scn.objects.active (get/set the active object for the scene) scn.objects.selected - an iterator that only uses selected objects scn.objects.context - an iterator on objects in the user context (visible in the current 3d views layer and selected) These are the same type as scn.objects but .add() .remove() .new() .active etc raise errors. so scn.objects.selected.add() will raise an error. Made nested loops possible with scn.objects, metaball.elements and ob.modifiers, by initializing the iter value as NULL and creating copys of the pyobject when _getIter() is called if ->iter is not NULL. This is how pythons xrange() works.
2006-09-24-> Adjustable Tolerance for Knife Vertex CuttingGeoffrey Bantle
Previously had Vertex snapping in knife tool adjustable by the 'threshold' value in the 'Mesh Tools' panel. This was actually a misunderstanding on my part of a user request (oops). What was really needed was to make the sensitivity of intersection code for vertex cutting adjustable. Vertex Snap is now set at same tolerance as vertex selection.
2006-09-23new read only object property to be used for the collada exporterCampbell Barton
ob.parentType and a constant dict Blender.Object.ParentTypes
2006-09-22This commit adds backwards compatability for the new floor constraintRoland Hess
feature. Old files that had "sticky" set would not show "sticky" under the new system. Not that anyone ever actually used "sticky". Also, these commits only add support for rotated external target objects, not target bones inside the same armature.
2006-09-22This commit adds local target rotation support to the floor constraint,Roland Hess
making it much more useful. Requested and taunted for frequently by Plumiferos folks. Click on "Use Rot" to take target object rotations into account. Good for using rotated empties, etc., as a sloped floor.
2006-09-22Mesh iterators (me.faces, me.edges, me.verts, face and edge iterator) store ↵Campbell Barton
the iterator progress in the python object. This made nested loops with the same python object mess up. eg- faces= me.faces for f1 in faces: for f2 in faces: print f1.index,f2.index This didnt work, fixed by initializing the iter value at -1, so any greater value will create a new BPyObject with its own iter value. once iteration is finished, its set back to -1. Also made face and edges iter value a char instead of an int to save some memory.
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-21one liner,Campbell Barton
editmode select grouped, face area and perimeter comparing didnt work sometimes, simpler comparison that still scales well
2006-09-20removed warning in EXPP_setVec3ClampedCampbell Barton
2006-09-19order of case statement was messed up with previous commit.Campbell Barton
2006-09-19->Knife Midpoint and Vertex CuttingGeoffrey Bantle
Cutting through vertices and vertex snap was only supported in 'knife exact' mode. Now works for 'Knife Midpoint' as well. (Multicut and vertex cutting would require N-Gons)
2006-09-18Maximum amount of keys in a ColorBand now is 32.Ton Roosendaal
This is static array stuff... could be dynamic once.
2006-09-18Bugfix #4999 part 2Ton Roosendaal
Sky texture mapping option "Sphere" or "Tube" map now correctly maps to world space as well, so a camera orientation or mirroring works fine.
2006-09-18-> Extrude Vertex GroupsGeoffrey Bantle
Small fix, extrude did not copy vertex weights.
2006-09-18Type in docs and element.quat was checking for a vector type.Campbell Barton
2006-09-17Bugfix #4999Ton Roosendaal
The Sky render option "Ang Map", which should support spherical probes, was always in local camera view space, instead of world space. Check this report, it has cool images! http://projects.blender.org/tracker/index.php?func=detail&aid=4999&group_id=9&atid=125
2006-09-17Bugfix #4925Ton Roosendaal
When using a particle system in a dupli-group, and the group is in the current scene but not visible, the particles are calculated on wrong position. This is the recurring trouble with particle calculating... which doesn't do despgraph stuff. This commit fixes the error, but it will still display particles *once* (one draw) on the wrong location. That's a lag in the system I cannot solve quickly... Note that this system does work OK when you put the group in another Scene, or linked from another file. That's what it was coded for...
2006-09-17Patch #4995, bugfix #4985Ton Roosendaal
Patch for this bug provided by Johannes Meng. Here's his log: When using the mouse wheel on an inverted 3d view (that is back, left or bottom) the name display changed to front (right, top). Also when using mouse wheel with modifier keys (strg/shift) on a normal view, it changed the display to the inverted variant. What I did was check the type of event that is handeled before setting/unsetting V3D_OPP_DIRECTION_NAME. I simply added two if statements and expanded the comment by a line explaining it a bit.
2006-09-17Bugfix #4983Ton Roosendaal
- Using NLA stride didn't work at all for Motion Blur render... appeared to be a typo even, using 'ctime' instead of 'stime'. :) - When entering editmode on a striding Armature, the position of the armature was incorrect (missing depsgraph refresh) - changes in constraint.c is just a small cleanup, unused 'ctime' arg.
2006-09-17corected some mistakes in the metaball docs.Campbell Barton
2006-09-17added mesh_create_derived_view(ob) to DerivedMesh.cCampbell Barton
exactly the same as mesh_create_derived_render(ob) except it uses the view modifier settings. Added an optional arg to getFromObject to 'render' so you can choose to get the mesh displayed in the 3d view or generate one with render settings. Solved bug 4612 getFromObject now works with soft body meshes (error was caused by getting the derived mesh from a copy of the object) removed workaround for softbody bug in object_apply_def.py
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-16Render display fix:Ton Roosendaal
When using "Border" render, and output to UV/Image window, the compositing result was not drawn. I had to add a refresh for reading results...
2006-09-16Vertex Parent fix: it gives error if you select > 3 points now.Ton Roosendaal
2006-09-16Bugfix #4997Ton Roosendaal
Small tweak in depsgraph usage of transform: to make sure recalc tags get set in invisible objects (in other layers) as well. That way switching layers won't give errors with child-objects not being in the correct place.
2006-09-16Bugfix #4994Ton Roosendaal
Proportional editing sometimes failed to work by a missing initialization. It was caused by the combination of having manipulators on, and saving the file with an active Armature Object in PoseMode.
2006-09-16FIX: [ #4713 ] 2.42: Crash when saving .blend file as an unpriveledged userAndrea Weikert
- applied bugfix patch [ #4945 ] from Alex Rainchik - many thanks
2006-09-16FIX: [ #4944 ] Shift F4 menu folders are freezedAndrea Weikert
- code for adding 'c:\' on Windows missed fact that BLI_convertstringcode is also used for databrowse. - now only replacing when path starts with '/', which isn't the case with databrowse
2006-09-16Enabling vertex-parenting to a Lattice didn't take deformed Lattices inTon Roosendaal
account...
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-09-16active metaball stiffness was not being limited to 10.0 as a maximum in the ↵Campbell Barton
3d properties panel (10000 instead). added radius, and type menu to the 3d properties panel.