Commit Graph

23360 Commits

Author SHA1 Message Date
Campbell Barton 9b2dd9aac6 fixes for screw modifier
- steps for a closed screw was off  by 1
- screw offset wasnt being copied
2010-03-22 08:49:12 +00:00
Campbell Barton fb9546746e Screw Modifier (old patch was called Lathe)
didnt commit this patch because curves are generally better to create a shape to lathe however now that curves can have modifiers applied to them I think its good to have this.

Added options to offset the lathe so it can work like the screw tool as well.

- optional object for axis which also controls the center point.
- screw offset so rather then just lathing this can work more like the screw tool.
- screw optionally using the object distance along the axis.
- iterations so the screw can be applied multiple times.

tested to work well with curves.
2010-03-22 00:22:52 +00:00
Campbell Barton 74b3336107 rotate_m4 was using degrees rather then radians. 2010-03-22 00:14:56 +00:00
Campbell Barton 4394217b96 when curves draw as derived meshes, check their face count rather then if the display list has faces. 2010-03-21 22:54:30 +00:00
Campbell Barton 44bfe1437a remove unused includes 2010-03-21 22:52:56 +00:00
Janne Karhu df7b696b73 Big cleanup of particle system core, also some minor pointcache cleanup. Shouldn't contain any functional changes. 2010-03-21 20:36:06 +00:00
Campbell Barton dd4a8bff51 take 2... 2010-03-21 15:59:08 +00:00
Campbell Barton cc8f790199 recent removal of includes broke for msvc 2010-03-21 15:47:13 +00:00
Joerg Mueller f61b3ac81a Fix for sequencer adding scene strips of the same scene resulting in an endless recursion. 2010-03-21 15:40:36 +00:00
Campbell Barton 247b7249bd [#21682] help() doesn't work in the console
replace pydoc's pager function so the console's input isnt used.
2010-03-21 14:56:26 +00:00
Tom Musgrove 49493dec55 2010-03-21 14:46:43 +00:00
Campbell Barton 546ca400d8 removed unused includes, except for physics and particle related files 2010-03-21 13:42:25 +00:00
Campbell Barton f9c25a9928 remove includes that arnt needed 2010-03-21 13:07:31 +00:00
Campbell Barton f9999f3445 [#21692] Blender Crashes upon trying to view UV Test Grid (r27639)
fix for mistake in own commit when moving grid color func into its own file.
2010-03-21 10:25:21 +00:00
Guillermo S. Romero 42ac4a3e7d Fix syntax for ID keyword. 2010-03-21 01:14:04 +00:00
Campbell Barton 03acdd75e0 [#21660] improved UV test grid
from shuvro sarker (shuvro) 
Added text to the patch and made other minor tweaks.

moved image generation functions into their own file.
2010-03-21 00:25:52 +00:00
Joerg Mueller 42a0ef4dcf OK, compiling doesn't mean it runs, now it should really be fixed, as I don't use NAN directly anymore. 2010-03-21 00:04:50 +00:00
Guillermo S. Romero d55cf90bb6 SVN maintenance. 2010-03-20 23:43:50 +00:00
Joerg Mueller b06cdb3dd7 Finally, this should really fix the msvc and old ubuntu compiler problems with NAN and finite. 2010-03-20 23:36:08 +00:00
Campbell Barton ba2cfeefd0 drawing text in a byte buffer wasnt working (probably never tested since float buffer is used for rendering) 2010-03-20 23:31:48 +00:00
Joerg Mueller d904da1d03 Yet another try to get NaN working on MSVC. 2010-03-20 20:00:15 +00:00
Joerg Mueller b6a111a6db Hopefully another fix for MSVC... 2010-03-20 19:51:38 +00:00
Campbell Barton be8c398191 - submit docs now uses the new dialog with an OK button
- submitting operator docs sent them twice.
2010-03-20 19:22:34 +00:00
Campbell Barton 07b547980d remove unused includes for blenlib, left ifdef's for non linux os's alone. 2010-03-20 18:52:03 +00:00
Campbell Barton 66ccd94e3f patch #21680 from Richard Olsson
wm.invoke_props_dialog()

This is so python scripts can have popups which do not redo all the time.
2010-03-20 18:03:59 +00:00
Campbell Barton 11b260ee06 warning fix 2010-03-20 16:56:52 +00:00
Campbell Barton 391cc2d004 merge own commits into render branch into trunk since 27560
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
2010-03-20 16:41:01 +00:00
Joerg Mueller 7178f10b81 Replacing NAN with C++ limits version, hope that works for MSVC... 2010-03-20 16:28:51 +00:00
Andrea Weikert 08164794b2 Fix [#21658] file browser "hide invisible" doesn't hide anything
- moved global hide_dot to filelist.
- hiding dot files is now included in the filtering of files, which means that for this directory also doesn't have to be read anymore.
- reverted changes of rev. 27491 and related changes in rev. 27523 in favor of a more general abstraction for the different 'file browser modes' with respect to filtering.
2010-03-20 14:23:56 +00:00
Joerg Mueller ca3736c123 Fix for [#21639] Playback with AV-sync and None sound system. 2010-03-20 11:50:27 +00:00
Joerg Mueller 1e2be7a8c6 "Fix" aka implementation of [#21548] Audio doesn't work when adding scenes with audio to another scene. 2010-03-20 11:15:16 +00:00
Damien Plisson 3dde2e224a Cocoa: fix some mem leaks appearing on 10.4 builds 2010-03-20 10:14:59 +00:00
Daniel Salazar 504745c399 Operator name improvements in select menu 2010-03-20 05:14:22 +00:00
Dalai Felinto 15bd165ca0 BGE: bindId property in VideoTexture.Texture (to get the openGL id of the texture)
Now if you have a VideoTexture.Texture you can use its id and draw it with bgl
The Id is only going to be valid if the obj you are getting the VideoTexture.Texture from has a valid texture. In the examples you will see them as planes, that become invisible at load time, but are needed to validate the texture id.

This is a simple example file:
http://blenderecia.orgfree.com/blender/bind_id_simple.blend

And a (much) more advanced one:
http://blenderecia.orgfree.com/blender/bind_id.blend
(get also this image and save it to the same folder of your blend file - http://blenderecia.orgfree.com/blender/mask.png )

Benoit, I couldn't decide on better names so for now I'm glad with this one.
2010-03-20 00:11:25 +00:00
Daniel Salazar d50876f8d5 Adding Non Manifold to select menu in edit mode for vertex and/or edge
select mode
2010-03-19 06:57:55 +00:00
Joshua Leung d89a8c34f3 More F-Modifier Tweaks:
This commit started out aiming to make the "Stepped" F-Modifier (committed last night) even more useful, but ended up fixing a few other finer-points of how F-Modifiers work.

Firstly, the new stuff:
I've addded options to the Stepped F-Modifier to not affect frames before and/or after specified values, and renamed the 'start offset' to 'offset' for clarity. 

The main objective of this is to allow Stepped F-Modifiers to only affect certain time ranges, so that by layering/using multiple instances of the F-Modifier, it can be possible to have multiple stepping-sizes.

This allows for effects like:
http://www.pasteall.org/blend/2230
or in words, it provides a convenient mechanism for animators to specify whether sections of the animation is shown "on twos", "fours", or even "forty-second-ths plus a smidgen", as can be easily done with 2D.

Assorted changes to support this:
* Properly fixed up how F-Modifiers that work with time, evaluate the time to evaluate the curve at. Now layered time effects like this should be possible in a much nicer way.

* Added proper value range validation/clamping to many properties. There are still a lot more that need checking, but at least more properties now do "the right thing".
2010-03-19 03:38:14 +00:00
Martin Poirier 5e7b1bde8d Hack to make people stop bugging me.
Working around a problem in a work around for holes in the operator API and event system.
2010-03-19 03:26:31 +00:00
Joshua Leung cd9e6253c3 Missed a file - stepped F-Modifier should have its handles visible+editable to be useful 2010-03-18 13:05:42 +00:00
Joshua Leung 618b459e8b F-Modifier Goodies (as requested by @ndy):
* Copy/Paste operators for F-Modifiers
Available in Graph and NLA Editors. Use the Copy/Paste buttons beside the 'Add Modifier' buttons.

Copy copies all the modifiers of the ACTIVE F-Curve or Strip depending on the editor.
Paste pastes modifiers from the buffer to all the selected F-Curves or Strips, adding the new modifiers to the ends of each list.

* 'Stepped Interpolation' F-Modifier
This modifier holds each interpolated value from the F-Curve for several frames without changing the timing. 

This allows to preview motions 'on-twos' for example without altering the timing, or having to go through setting heaps of keyframes. In this case, Andy wanted to use this for CG <-> StopMo.
2010-03-18 13:04:46 +00:00
Brecht Van Lommel 148985edf0 CMake: FFMPEG directory and libraries are now configurable. 2010-03-18 10:16:04 +00:00
Joshua Leung 9ebde542ec Bugfix: Autokeying was non-functional after the Keying Sets refactor
- The RNA wrapping for the generate callback was still wrong, with the primary effect being that C-code calling this had unexpected consequences that were hard to debug.
- Fixed some defective checks that meant that when specifying the RNA-pointers for the Keying Set to use (rather than using the Keying Set's own iterator callback) would never add any info.
2010-03-18 07:53:46 +00:00
Matt Ebb 3566400dc5 Removed the 'recover temp' option from the splash screen - the way the temp saving currently
works, it's mostly non-functional there (i.e. when you've just started the application).

It would be nice if blender could name the temp files in a special way so that it could actually
search through the temp folder and find the most recently saved temp file, but for now, I'll
just remove the option.
2010-03-18 07:05:20 +00:00
Matt Ebb d96bf316ac Fix [#21657] Blender crashes after importing .obj and selecting a material
Creating an object via some pre-existing obdata via the py api wasn't properly initialising the 
object/mesh material link data.
2010-03-18 06:03:41 +00:00
Matt Ebb 6c6825b536 Fix [#21568] Scene Linking 2010-03-18 04:46:27 +00:00
Matt Ebb 35a5be71e7 Fix [#20908] Box Select On File/Append Selects Too Many Files 2010-03-18 04:09:59 +00:00
Matt Ebb 25ea2fafdd Fix [#21651] After Fix # 21114 Adding mesh in local at cursor position doesn't work
Silly bug from yesterday..
2010-03-18 01:26:56 +00:00
Dalai Felinto ab739dd456 BGE: blenderplayer building again.
*side note: Quadbuffer seems to be partially working in Blender 2.5 (it's 100% in 2.49). I'll try to take a look at that later.
2010-03-18 00:36:20 +00:00
Matt Ebb 045d33dae0 Fixed a crash switching to brush texture nodes
Also removed some python code to check for node materials within the material and texture properties. It seems to go fine without it, and this should be handled by context instead.
2010-03-17 22:54:55 +00:00
Brecht Van Lommel 634b750cbb Sound bugfixes:
* sound file path was not displayed in sequencer panel.
* sound strip with relative paths would stop working after undo.
(commit 27575 by Brecht from render25 branch)
2010-03-17 21:38:53 +00:00
Brecht Van Lommel 29a83cbfa7 Fix render info text not showing up in image editor while building
render database, due to threading fix.
2010-03-17 21:33:28 +00:00