Commit Graph

24533 Commits

Author SHA1 Message Date
Matt Ebb
ceac8d0fed Change to file output compositor node -
Now it only outputs files when rendering, otherwise, it overwrites the output files
whenever the compositor updates (i.e. just scrubbing through the timeline )
2010-06-23 03:42:19 +00:00
Matt Ebb
ba16b24262 Added back full scene motion blur 'shutter' parameter (was 'Bf' in 2.49) 2010-06-23 03:20:57 +00:00
Martin Poirier
5ed7699e85 mathutils.RotationMatrix
Angles are in radians. Doc and example should reflect reality
2010-06-23 02:42:39 +00:00
William Reynish
8a6ea2584d Small update to text boxes UI. It now works in single-column layout. 2010-06-22 21:31:26 +00:00
Sergey Sharybin
e10bf2bc09 Fix #22642: NURBS surfaces doesnt display
Fix #22587: Invisible Nurbs Suface

There was a small bug with determinating if new object should be created
and for surfeces new OB_CURVE object had been created (instead of OB_SURF).

Removed unused function and enum, which were used by nurbs surface
create old oprator
2010-06-22 21:11:13 +00:00
Peter Schlaile
df76cebb8a == Sequencer ==
Removed "frame_locked"-flag from sequencer completely, since it doesn't 
work any more in Blender 2.5. (All IPOs are frame-locked now anyways.)
2010-06-22 21:09:50 +00:00
Brecht Van Lommel
86de9694ff ffmpeg was computing the frame length of avis via doubles, but was
not properly ceiling them, sometimes resulting in truncation errors.

(merge from render25 branch, commit with revision 28901 by Joe)
2010-06-22 18:18:42 +00:00
Brecht Van Lommel
c28aec9ae1 Fix #22589: pressing subdivide or updating displacements after sculpting
on multire would unnecessarily subdivide vertex groups and other layers,
making the operation slower than necessary.
2010-06-22 16:46:13 +00:00
Diego Borghetti
f3a2d24d8f Fix Bug [#22640] Center Cursor doesn't cause 3D window update in empty scene
The viewhome operator forget tag the region for redraw when no object
is in the scene and only move the cursor.
2010-06-22 15:46:15 +00:00
Brecht Van Lommel
30a7c6d281 Merge a few small blenlib changes from the render25 branch:
* define for missing hypotf on msvc.
* svd_m4 and pseudoinverse_m4_m4 functions.
* small tweak to perlin noise, use static function instead of macro.
* BLI_linklist_find and BLI_linklist_insert_after functions.
* MALWAYS_INLINE define to force inlining.
2010-06-22 15:20:06 +00:00
Brecht Van Lommel
ed28a0296f BLI_init_threads/BLI_end_threads with NULL listbase now raises thread level
and enables mutex protection on MEM_* functions, useful when you want to call
these functions from an OpenMP thread.

(merge from render25 branch)
2010-06-22 15:17:12 +00:00
Brecht Van Lommel
c45c6a20a4 Update build systems for automatic weighting changes.
(merge from render25 branch)
2010-06-22 15:12:00 +00:00
Brecht Van Lommel
cb8f2bd1ab Armature weighting / mesh deform no longer use render raytracing
acceleration structure but BVH instead.

(merge from render25 branch)
2010-06-22 15:10:57 +00:00
Brecht Van Lommel
e0368d31a5 Enabled openmp multithreading for multires/subsurf again, but only
if there are >= 1 million faces estimated in the resulting mesh.

(merge from render25 branch)
2010-06-22 15:09:41 +00:00
Brecht Van Lommel
844274c27a Don't evaluate displace modifier with strength 0, avoids multires
subdividing vertex group here in some cases.

(merge from render25 branch)
2010-06-22 15:08:39 +00:00
Brecht Van Lommel
c0be8ee8cb Fix crash cancelling render while building object instance in
raytree, object could still be added after it was already freed.

(merge from render25 branch)
2010-06-22 15:04:03 +00:00
Brecht Van Lommel
50a8d1803b Make hair particles also support drawing their number next
to them, previously this only worked for regular particles.

(merge from render25 branch)
2010-06-22 15:02:23 +00:00
Campbell Barton
096c4ddea4 error in last commit 2010-06-22 14:27:04 +00:00
Campbell Barton
657f745130 recent commit with timeline cache was crashing on opening files. 2010-06-22 14:10:45 +00:00
Campbell Barton
24be7abab6 rename sequence.length -> frame_length_final
added sequence.frame_length to get the original length of the strip
2010-06-22 13:45:21 +00:00
Matt Ebb
8bc1e44e33 slight cleaning of texture type changing functionality, done while working on other stuff today 2010-06-22 09:13:30 +00:00
Matt Ebb
2849201339 hopefully fix some flickering in timeline cache display 2010-06-22 09:12:22 +00:00
Campbell Barton
eeed68a20f utility function to save blend's from a crash (from gdb run this)
p write_crash_blend()

Which will save the current blend name with _crash prefix.
2010-06-22 08:38:12 +00:00
Matt Ebb
a25357bbbc Tweak for previous color management notifier tweak - works fine here with just ND_RENDER_OPTIONS 2010-06-22 02:35:05 +00:00
Matt Ebb
1d6c2f214b Timeline addition: Display cached frames
This started off doing pointcache debugging but it's also very useful for users too.
Previously it was very hard to see the state of the system when you're working caches
such as physics point cache - is it baked? which frames are cached? is it out of date?

Now, for better feedback, cached frames are drawn for the active object at the bottom 
of the timeline - a semitransparent area shows the entire cache extents, and more 
solid blocks on top show the frames that are cached. Darker versions indicate it's 
using a disk cache.

It can be disabled in general in the timeline View -> Caches menu, or by each individual
system that can be shown.

There's still a bit to do on this, behaviour needs to be clarified still eg. deciding what
shows when it's out of date, or when it's been played back but not cached, etc. etc. 
Part of this is due to a lack of definition in the point cache system itself, so we should
try and clean up/clarify this behaviour and what it means to users, at the same time.

Also would be interested in extending this to other caches such as fluid cache, 
sequencer memory cache etc. in the future, too.
2010-06-22 02:29:52 +00:00
Luca Bonavita
6a1d8d8e04 Origin button in the toolshelf
Minipatch to add the Origin button in the Toolshelf in the Transform section.
I missed this because
1) it was called "center" in 2.4 and it's difficult to find just searching if you don't know it's "origin"
2) it was in the the object » transform menu, not very practical to use often
Discussed with Gensher, Campbell and Matt before committing :)
2010-06-22 00:08:05 +00:00
William Reynish
91deffc429 Added ability to add and remove text boxes back from Blender 2.4x. One on those small things missing. 2010-06-21 23:20:44 +00:00
Guillermo S. Romero
df6e5aeafc SVN maintenance. 2010-06-21 22:16:13 +00:00
Campbell Barton
4bade8e137 sequence.swap(other) rna function. 2010-06-21 22:05:34 +00:00
Sergey Sharybin
425da6206f [#22262] Sculpting shape keys using the Smooth brush switches the shape to the Basis
PBVH used the same verts array as mesh data and shape key/reference key coords
were applying on the mesh data, so on some refreshing undeformed mesh was
displayed.
Added utility functions to get vert coords from key block, apply new vert coords
on keyblock and function to apply coords on bpvh, so now pbvh uses it's ovn
vertex array and no changes are making to the mesh data.

Additional change:
Store key block name in SculptUndoNode, so now shape wouldn't be copied to
wrong keyblock on undo
2010-06-21 20:10:59 +00:00
Campbell Barton
72d21c35ad sequencer swap data operator.
needed for durian so we can swap out preview AVI's for EXR sequences.
2010-06-21 17:37:50 +00:00
Dalai Felinto
3f4121cea5 Logic UI: Pin option for sensor and actuators (from 2.49)
- implemented the old functionality of pin a sensor or actuator when "show state" is on.
- fixed code for setting/resetting VISIBLE and LINKED flags for sensors and actuators
(so states buttons is working for actuators and sensors)
- move the flag setting code (^^^) to a pre-processing part of the logic ui code.
2010-06-21 07:51:40 +00:00
Martin Poirier
78d3793d31 netrender
Save and Restore master from disk.

When the "clear on exit" option is off, write a data file (blender_master.data) in the master's path on exit and reads it back on load.

Note: Jobs and Slaves lists are restored, but not balancer settings (problem with the pickle module).
2010-06-20 20:33:59 +00:00
Thomas Dinges
be8a2de393 * Small fix for Color management RNA. 3D View didn't update on enabling/disabling Color Management. ND_SHADING > ND_SHADING_DRAW
Note: "ND_RENDER_OPTIONS" should trigger the update in the 3D View (as the 3D View listener listens to that) but that doesn't work for some reason.
2010-06-20 19:02:26 +00:00
Martin Poirier
62ffe63045 etch-a-ton bugfix
Add Convert operator and button (missing in 2.5)
Fix stroke selection (uneeded separate operator and missing redraw)
Map sketch operators to LEFTMOUSE and RIGHTMOUSE instead of SELECTMOUSE AND ACTIONMOUSE (more in line with other sketching operators, might work better with swapped mouse buttons)
2010-06-19 20:25:00 +00:00
Martin Poirier
801beadc52 Unhide constraint axis and orientation operator properties.
They are not just internal param, tweaking them later is not unconceivable.
2010-06-19 20:18:43 +00:00
Campbell Barton
f50714a64b minor edit to speed up api property name editing. 2010-06-19 12:11:40 +00:00
Campbell Barton
0ecae611f9 rna info module now prints out property names into the console when run directly 2010-06-19 12:06:34 +00:00
Joerg Mueller
229b7639e7 Merged revision 29562 from /branches/soc-2010-nexyon. 2010-06-19 10:50:23 +00:00
Diego Borghetti
615af47559 Fix #22621 Alt-A toggles panel expand collapse
Patch by John Carpenter

The expand/collapse command don't filter the Alt
modifier and make problem with the animation
shortuct (atl+a).
2010-06-18 20:19:24 +00:00
Diego Borghetti
000d23e05c Fix #22625
My fix for #22317 make that every time you delete an object,
blender go to perspective view, fixed now.
2010-06-18 15:23:39 +00:00
Campbell Barton
fe3d388af2 Changes to scene updating with set scenes.
The most useful effect of this is that set scenes can take the simplify settings from the current scene (render team doesnt have to worry about animators simplify settings).

details...
- updating on frame change now passes the parent scene to object update function. (this was alredy happening for updating tagged objects)
- set scenes objects update first so scenes can depend on set objects however this only happened at once level, now set scenes are updated recursively, so deepest level is updated first.
- collision objects used to only look through the current scene, now set objects are included.
2010-06-18 14:14:13 +00:00
Janne Karhu
61b0a5bdb5 Fix for [#22410] Texture force field doesn't depend on empty location (patch by Matt Ebb) 2010-06-18 11:36:51 +00:00
Janne Karhu
e4c9381f14 Fix for [#22479] Hair is left our when moving emitter unless Hair Dynamics is set on 2010-06-18 11:34:45 +00:00
Mitchell Stokes
c6b7b8a485 Fixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC needed to be defined; it was already defined for SCons. 2010-06-18 08:22:05 +00:00
Matt Ebb
0aef0d2538 Raise the default report popup severity to errors only (not warnings).
All reports still get displayed in header.
2010-06-18 05:18:46 +00:00
Matt Ebb
bfd0810beb Notifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers
with the generic action equivalents (NA_EDITED and new NA_SELECTED)
2010-06-18 04:39:32 +00:00
Daniel Salazar
557f0525ea Added sintax coloring for None 2010-06-17 20:56:36 +00:00
Campbell Barton
8c031f22b9 fix for fcurve doubles not being removed when moving more then one selected points in the graph editor.
The bug could be redone with 3 points, 2 selected dragged onto the unselected.

looping backwards fixes this.
2010-06-17 19:33:27 +00:00
Campbell Barton
e41e138301 rather then naming new actions "Action", use the id name with an action prefix.
avoids having 100's of Action.XXX in a file.
2010-06-17 15:28:40 +00:00