Commit Graph

18521 Commits

Author SHA1 Message Date
b1e556890d Fix compile error, missing semicolon. 2010-04-06 01:20:45 +00:00
1c1d10f285 Fix #21577: incorrect camera selected when loading file without UI. 2010-04-06 01:18:52 +00:00
93cc8eea45 Fix #21383: appending a group would also instance it by default, which
will give duplicate objects since the actual object are appended already,
so only enable this option by default for linking now.
2010-04-06 01:16:39 +00:00
bfe04b23a4 Making sure updates are not lost. 2010-04-06 01:00:59 +00:00
e302f33be7 document bpy.types.Struct methods C methods, currently only keyframe_delete() and keyframe_insert() have useful docstrings.
http://www.blender.org/documentation/250PythonDoc/bpy.types.Struct.html?highlight=bpy.types.struct#bpy.types.Struct.keyframe_insert
2010-04-05 22:37:09 +00:00
a9fa23c624 Request: auto link to viewer node back. Used to be ctrl+click, is now
shift+ctrl+click, because the ctrl_click goes to knife cutting.

Implementation note: this is a macro, select + link.
2010-04-05 18:34:18 +00:00
1f9b03f64c Fix #21266: cyclic dependency checking for texture nodes was missing. 2010-04-05 17:30:11 +00:00
35c0e5052a Merge -c 28014 from COLLADA branch into trunk. 2010-04-05 15:47:57 +00:00
ffd1f1666e Fix #21641: crash when disabling active addon, removing operator
type could still leave it in the history stack.
2010-04-05 14:21:57 +00:00
84644909f1 Bugfix #21856: Empty F-Curves created when keyframing with 'auto keyframing mode' set to 'replace' caused problems with bad rotations and scaling to a point.
Now, when the mode is 'replace', no F-Curves are created during keyframing (i.e. only existing F-Curves are used).

---

Also, fixed missing line in previous commit for Select Linked.
2010-04-05 12:17:33 +00:00
f525312721 Animation Editors: Select Linked Operator
This operator selects all the keyframes in the same F-Curve as a selected keyframe.
2010-04-05 11:47:55 +00:00
f529360152 Fix #21828: vertex group remove function removes vertices from all groups. 2010-04-05 11:22:49 +00:00
1af9e1fb2b Fix #21885: constraint with copy location/rotation from vertex group crashes. 2010-04-05 11:11:15 +00:00
ec5527cb52 Fix #21349: triple buffer drawing doesn't work well with thousands of
colors setting on Mac, just disabled it in that case.
2010-04-05 10:25:40 +00:00
8b7d1775c3 Fix for [#21908] SPH fluids - crash when editing while playing 2010-04-05 09:46:01 +00:00
fee3daee56 'Fix' [#21843] Manipulating Set Render Border sliders causes a crash
Just make the operator cancel if the region in the context is not a RegionView3d.
This is not an issue isolated to this operator, it affects other ones that require a
RegionView3d too, like knife. One to solve for later, at least this doesn't crash now.
2010-04-05 08:13:04 +00:00
35d7c86b14 Fix [#21909] full sample motion blur
Stop animation playback before rendering
2010-04-05 07:57:05 +00:00
944c2a43d9 Bugfix #21914: SigSegV when loading file with missing proxy object
This 'should' fix it...
2010-04-05 07:20:34 +00:00
8599c4507b Bugfix #21212: Segfault when object.add_vertex_to_group() called with invalid vertex index
Safety checks are now performed before indexing into the dvert array obtained.
2010-04-05 07:16:22 +00:00
747b985824 Bugfixes for Grease Pencil and the Image Editor (includes fix for #20921):
* Fixed crash with when/after undoing Grease Pencil sketches in the Image Editor. To get this working, I've had to sacrifice the backwards-compat loading for old .blend files from 2.49 which were using the same pointer as the new data (local data vs datablock data). If anyone has any ingenious hacks to fix this, go ahead, but otherwise, some caution is advised here... 

* Grease Pencil block used for Image Editor instances can now be changed

* Enabled proper active polls on the advanced 3D-view projection methods for drawing. These are not valid in views other than the 3D-View, and so should not be shown as available for use elsewhere (though may still be shown just so that users know what mode an 'imported' datablock may be using).

* Enabled proper updates for Grease Pencil editing in the Image Editor. Was missing notifiers for this stuff.

* When drawing in the Image Editor with no image active, the system now (quietly) switches to using screen-space 'view' vs 'cursor' space for the strokes, since the previous behaviour was confusing with strokes disappearing after drawing them. IMO this is a much better option than the confusion that occurred before, even though it does change the user's settings under their feet!
2010-04-05 06:52:27 +00:00
75df05b83f Fix [#21861] hemi light and shadow only maerial
Made Shadow only materials render as completely transparent when there are no 
shadow casting lamps - more logical than solid black.
2010-04-05 05:46:39 +00:00
00877ceaae Fix [#21895] Incorrect calculations for measurement system
3d view grid scale text description wasn't using unit scale correctly
2010-04-05 05:32:16 +00:00
f8c2df7ce7 Fix [#21912] knife and subdivide tools do not split edges properly
Added back the 'corner cut pattern' as an operator property for subdivide operator. 
Not added for knife yet, since operator redo doesn't seem to be working at all - 
already logged in the tracker.
2010-04-05 04:58:17 +00:00
76e483edef Durian Feature Request for Graph Editor: Border Select (optionally) considers handles
Early when implementing the Graph Editor in 2.5, a key complaint that was levelled at the old 'IPO Editor' was that it was a constant annoyance that adjacent handles were getting selected in addition to the keyframes, when only the keyframes were intended. I solved this by making this default to only selecting keyframes and ignoring the handles, but this means that it isn't possible to batch move several handles at once. 

I've now improved this situation by adding an option to the border select operator (involved using Ctrl-B instead of B) which makes the handles get treated separately (as if they were separate verts, as in 2.4x). The default is still to only select keyframes, to have consistency with the DopeSheet...

Also performed some more renaming work in the code...
2010-04-05 03:37:28 +00:00
d329388245 Missed one of the tweak operator for nodes when adding new param. 2010-04-05 00:06:06 +00:00
09489418a3 [#21910] Add Current Time to Render Stamps
by Harley Acheson (harley) 

note from the submission
-snip-
While in there I removed the Win32 conditionals that made "_strdate" used to
get date on Windows. "localtime" works fine on Windows so the results are consistent on all platforms.
2010-04-04 21:57:51 +00:00
415a6f6015 make keying set path functions members of the paths collection 2010-04-04 17:42:40 +00:00
670d499c8b added negative bounds checks so drawing text into a buffer wont crash. 2010-04-04 15:03:45 +00:00
97454d7b85 no functional changes. use sizeof() and MAXFRAME 2010-04-04 14:33:41 +00:00
cddd6a56dd [#21867] Add rotate option to blf module
by Dan Eicher (dna)
2010-04-04 13:05:38 +00:00
c5871b8750 Fluid physics for particles by Raul Fernandez Hernandez (Farsthary) and Stephen Swhitehorn:
This patch add SPH (Smoothed Particle Hydrodynamics)fluid dynamics to the
blender particle system. SPH is an boundless Lagrangian interpolation
technique to solve the fluid motion equations.
 
From liquids to sand, goo and gases could be simulated using the particle
system.
 
It features internal viscosity, a double density relaxation that accounts
for surface tension effects, static internal springs for plastic fluids,
and buoyancy for gases.

---------------------------------------

This is a commit of the core fluid physics. Raul will work on proper
documentation soon and more features such as surface extraction from
the particle point cloud and increasing stability by sub-frame calculations
later.
2010-04-04 12:29:06 +00:00
d574e8b826 2.5 Preview Render:
* Converted Type Buttons (Flat, Cube, Monkey etc.) in Material Preview to RNA. 
* "Alpha" option in texture Preview Render is back!
2010-04-04 12:09:59 +00:00
426aaaa0a2 Use DerivedMesh->getNumFaces function in drawSolidSelect() if curve
object has got derived mesh.
2010-04-04 11:07:42 +00:00
694934a2f7 Fix #21850: Modifier applied to surface doesnt work when only a curve.
I removed 3D flag checking for DL_POLY displists in nurbs-to-mesh conversion
function -- DL_POLY displist should be always converted to edge loop.
DL_POLY which should be converted to something else is odd i think.

This commit also fixes trouble cyclic surface curve to mesh conversion problem.
2010-04-04 11:07:34 +00:00
a5156d139e Fix crash entering edit mode on linked duplicate meshes with
dupliverts. The flag mode & OB_MODE_EDIT only indicates that
this object is being edited by the user, not if the mesh is
in editmode or not, it should check for the existence of
me->edit_mesh. Also corrected two other places for this.
2010-04-04 10:37:47 +00:00
5de041c51f Histogram and line sample can now be resized vertically 2010-04-04 02:37:22 +00:00
f7977ab8cc 'Active spline' theme setting was not getting initialised on old files 2010-04-04 02:08:38 +00:00
4021db8af8 Added a new 'straight line' gesture type that can be used in any operator.
Use this for image editor Line Sample tool, rather than custom modal operator/
custom drawing.
2010-04-04 00:21:37 +00:00
069e955a1d keymap.add_item, add_modal_items --> keymap.items.add()/add_modal() 2010-04-03 22:09:44 +00:00
824be96dc0 More work on Drag Immediate:
- Rename option and flag to something more sane
- Add property to manipulator operator and set true by default

Confirm on Release can now be forced true or false per operator, in which case it won't use the default value (the user preference).
2010-04-03 17:38:43 +00:00
ea44ea86f9 Bugfix #21896: Adding an modifier to a NLA strip adds it to all NLA strips
When adding modifiers to a NLA strips vs adding to the active NLA strip only, was missing a check that strips were selected first.
2010-04-03 11:19:17 +00:00
5a805c5fc3 [#21840] When clicking to move a Node it sticks to the mouse
Add hidden property to be able to force confirm on release (drag immediately is a silly name) on or off.

Streamline method for adding common properties to transform operators.
2010-04-02 19:40:51 +00:00
9a027080df RNA Property debug in Main, mapped to G.f's G_DEBUG 2010-04-02 19:38:20 +00:00
ea5936db0c [#21865] Blender V Alpha 2 X-mirror Extruding error
Forcing mirror off on extrude transform
2010-04-02 18:16:24 +00:00
d4340289a6 Set Scenes and Physics
- objects in a set scene now are evaluated with the frame from the current scene.
- pointcache now loops over all set scene objects.
2010-04-02 14:57:12 +00:00
70540fca3b bugfix [#21230] set-scene animation updates not working
fix for empty scenes with SETLOOPER macro.
2010-04-02 13:43:56 +00:00
e27fbba217 commenting hamx format, should evertually be removed along with amiga format. 2010-04-02 12:18:01 +00:00
341843bc54 Batch renaming some keyframe editing internals in preparation for more generic keyframe editing API, allowing more niceties... 2010-04-02 12:02:39 +00:00
fb4b16b799 "Fix" #20225: mesh deform surface modifier problems. This mode was an
experiment and turn out to work poorly because it does not preserve
rotations, so I've just removed the option now. Alternative is to use
a solidify modifier on the cage mesh, which will usually give better
results.
2010-04-02 11:39:40 +00:00
b1a0c86163 pointcache in set scenes wasnt updating 2010-04-02 11:18:52 +00:00