Campbell Barton
aba62b1797
fix for crash running the file load operator in background mode:
...
bpy.ops.wm.open_mainfile(filepath="some.blend")
2010-06-26 13:24:52 +00:00
Andrea Weikert
892851f787
file operator cleanup
...
* the default properties of the file operator now only contain the "filepath", which means only the complete path to a file is returned.
* "filename" and "directory" has been added to the link/append operator - the only place it was used.
* sequence operators still work on the "files", which was custom property passed to the file operator anyway.
* have tested sequence loading, image loading and append/link - please report if there are any issues
2010-06-26 08:53:29 +00:00
Campbell Barton
54e6fc1519
remove math and m module names from python driver namespace. (all math functions are merged into the local namespace)
2010-06-25 21:24:59 +00:00
Campbell Barton
c2db42adaa
bugfix where animated image texture's lagged one frame when used with modifiers.
...
call animated texture update before evaluating modifiers.
2010-06-25 12:28:35 +00:00
Campbell Barton
f3ffb22598
error in fix for ID property copy
2010-06-25 12:17:35 +00:00
Campbell Barton
9e87433ef2
error in last commit
2010-06-25 12:13:29 +00:00
Campbell Barton
7b36b2ebbb
- duplicating a scene now duplicates its sequence strips too.
...
- bugfix for copying a scene with FFMPEG properties set (wasnt copying the ID properties, could crash blender)
- relative path option for adding sequence strips and replaceing images.
2010-06-25 12:04:04 +00:00
Campbell Barton
044a20821b
extend command line argument for rendering the current frame
...
blender --background some.blend --render-frame 1 # renders frame 1
blender --background some.blend --render-frame +0 # renders the first frame
blender --background some.blend --render-frame -1 # renders the last frame
2010-06-25 11:56:12 +00:00
Campbell Barton
85ffe7e9ba
opengl render wasnt updating animated images textures
2010-06-25 11:53:52 +00:00
Sergey Sharybin
29b402f376
Fix #22618 : Deleting an object doesnt remove its self from pinned buttons
...
Clear pin flag and pin ID in unlink_object if pinid points to unlinking object
2010-06-25 11:41:39 +00:00
Campbell Barton
bfb9ef7ee9
bpy.props.StringProperty()'s maxlen arg was off by 1 since it included the null terminator for C strings.
2010-06-24 21:28:33 +00:00
Brecht Van Lommel
61d16219da
Attempt to fix compiling SSE detection on 32 bit linux.
2010-06-24 18:05:51 +00:00
Brecht Van Lommel
93238c3a3d
Runtime detection of SSE support for raytracing. Also enabled rayoptimization
...
by default now on all platforms since it shouldn't crash anymore if SSE is
not there. If this breaks compilation on some platforms, please let me know.
2010-06-24 15:54:01 +00:00
Campbell Barton
4c81019823
Move some sequencer functions about, no functional changes.
...
- Remove SEQ_DESEL, better not have a flag which includes ~, use ~SEQ_ALLSEL instead.
- Rename recurs_dupli_seq -> seqbase_dupli_recursive
- Rename deep_dupli_seq -> seq_dupli_recursive
2010-06-24 10:04:18 +00:00
Dalai Felinto
51170fdee3
Logic UI: small fixes
...
1) "Actuators" menu wasn't working (it was showing the sensors one)
2) s/c/a top menus (the one showing options to hide/show objects and logics) with a big space.
- To have those options like this sounds a bit like a legacy, but for the time being at least, let's make it better :)
3) not show the s/c/a common header when object not visible
2010-06-24 04:52:28 +00:00
Brecht Van Lommel
f507428d11
Fix #22553 : dragging number buttons would run update functions more often than
...
necessary due to the more accurate mouse move events that are useful for
sculpting and painting (at least on Linux/X11, not sure about other platforms).
If the update function takes a while to run, this in turn causes more mouse
move events to be accumulated, making things even slower, .. going into a spiral
of slower and slower redraws.
As a solution I've added a INBETWEEN_MOUSEMOVE event next to MOUSEMOVE. A
MOUSEMOVE event is automatically changed to INBETWEEN_MOUSEMOVE when a
MOUSEMOVE event is added after it. This new event type is only handled by
painting/sculpting operators, everything else can happily ignore it.
2010-06-23 18:47:56 +00:00
Thomas Dinges
5b9059e2bd
Compile fix for changes in "filldisplist" function.
2010-06-23 17:40:17 +00:00
Brecht Van Lommel
4e39133970
Fix #21370 : VBO does not display material colors in textured solid.
2010-06-23 16:35:42 +00:00
Campbell Barton
4596588fe8
- avoid divide by zero with node progress
...
- write_crash_blend() was writing to the original path.
2010-06-23 15:07:20 +00:00
Brecht Van Lommel
989cca1434
Fix #21369 : normals on extruded text and curve objects were flipped
...
for the backside, giving problems with e.g. boolean operations.
2010-06-23 13:18:50 +00:00
Brecht Van Lommel
4e851ac670
Fix crash when rendering with output to full screen and the mouse
...
cursor not over any area, e.g. on the border between two areas.
2010-06-23 12:41:38 +00:00
Sergey Sharybin
46d28a5e8d
Sculpt+shape keys:
...
- Sculpting on the basis key should change original mesh
- For relative keys sculpting on basis key should update others
2010-06-23 12:27:13 +00:00
Campbell Barton
08b5e5a492
fix for rare crash when a material is set in the outliner for an object with no material bits.
2010-06-23 11:46:58 +00:00
Brecht Van Lommel
992a4e8e7a
Fix a crash when failing to read .tga files in some cases.
2010-06-23 10:24:35 +00:00
Campbell Barton
2567129e7f
Converting a mesh into a mesh (alt-c), was broken with shape keys and modifiers that changed the vertex count.
...
removal of the shape key was undone in DM_to_mesh().
2010-06-23 10:18:51 +00:00
Brecht Van Lommel
16b15961a8
Fix #21470 : changing brush settings redraws the 3d view unecessarily,
...
added ED_region_tag_redraw_overlay to only redo overlay drawing, which
in case of triple buffer is much faster.
2010-06-23 09:58:32 +00:00
Sergey Sharybin
d200243a5c
Fix #22654 : Converted curve from mesh disappearing
...
Curve object should have ob->bb=NULL if there is no derivedMesh
2010-06-23 09:58:02 +00:00
Campbell Barton
ee14cc198b
fix for timeline drawing with new cache visualization.
...
memcpy buffer overrun when the first frame wasnt 0.
2010-06-23 08:18:14 +00:00
Dalai Felinto
5215e410c6
Logic UI: small change: make pin always visible (disable sometimes instead of hiding)
...
I still think we could use a more compact header for the non-expanded mode (ala 2.49). To be addressed later
2010-06-23 06:09:30 +00:00
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
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
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