Commit Graph

23328 Commits

Author SHA1 Message Date
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
Joshua Leung
be3d5f9d5d PyKeyingSet Bugfixes:
* With multiple objects selected, only one of the objects got keyframed. The code which was checking for duplicate paths was wrongly assuming to ignore the ID-block used still.

* Not registering a Keying Set as 'builtin' would crash on startup. I've made all Keying Sets fallback to adding as if they were local for now, but a better solution is coming soon.

* Fixed a typo in RNA function wrappers for the generator callback, since it was looking for the iterator only. This doesn't seem to have caused any problems (thankfully).
2010-03-17 11:34:27 +00:00
Matt Ebb
1d4b932145 Fix [#21553] Re-Projection just opening the image editor but not the image.
Campbell please check/beautify if you like, but it works properly on OS X, either
opening Preview with the 'open' command or Photoshop, when the path is set 
in user preferences.
2010-03-17 03:07:37 +00:00
Matt Ebb
504a7e9d3f Fix [#21285] Assigning an Edge Rotate (clockwise) shortcut also deletes affected faces when used 2010-03-17 01:56:41 +00:00
Matt Ebb
3c09e763c1 Fix [#21329] Extrude of single vertex constrained 2010-03-17 00:54:34 +00:00
Matt Ebb
724418f33a Fix [#21114] Graphical cursor displayed in wrong position when switching to local ortho. 2010-03-17 00:05:40 +00:00
Matt Ebb
b3e48fed5d Fix: Incorrect alpha values were displayed when sampling a float image in the image editor,
reported in IRC by kahr-alpha
2010-03-16 22:19:43 +00:00
Sergey Sharybin
14e29a62dc "Fill deformed" option for 2D curves
Add new option named "Fill deformed". If this option is switched on.
2D curve will be first deformed by modifiers and only then be filled
with faces.
2010-03-16 21:09:53 +00:00
Damien Plisson
8ac0359852 Fix [#21634] GHOST_WindowCocoa: activeWindow null pointer check 2010-03-16 20:42:12 +00:00
Roland Hess
bcca4e6843 Daniel Lara pointed out that adding a Maintain Volume constraint via 3D view hotkey automatically added an Empty for Target. This should not have been. 2010-03-16 18:34:30 +00:00
Brecht Van Lommel
4a2efe0822 no need to include the setting names in enum items
(commit 27539 by Campbell from render25 branch)
2010-03-16 18:22:55 +00:00
Brecht Van Lommel
391526c20e option to lock alpha while projection painting.
(commit 27538 by Campbell from render25 branch)
2010-03-16 18:05:53 +00:00
Brecht Van Lommel
abb7a25426 transform marker sync for extend and grab is back.
(commit 27537 by Campbell from render25 branch)
2010-03-16 18:01:22 +00:00
Brecht Van Lommel
2b34078fb2 the string 'Environment' is too long for a pass name, was causing crashes in FSA. use Env instead.
(commit 27536 by Campbell from render25 branch)
2010-03-16 18:00:45 +00:00
Brecht Van Lommel
47a0967a30 no need to set flat shading for faces manually
(commit 27534 by Campbell from render25 branch)
2010-03-16 17:59:39 +00:00
Brecht Van Lommel
93915e9438 adding faces was setting the wrong flag, smooth rather then selected.
(commit 27533 by Campbell from render25 branch)
2010-03-16 17:59:11 +00:00
Brecht Van Lommel
7c49cf2be9 Wkey in uv editor brings up weld/align menu rather then welding.
(commit 27513 by Campbell from render25 branch)
2010-03-16 17:58:44 +00:00
Brecht Van Lommel
243314ac19 implify skipping quad->tri was being done even when the main simplify option was disabled.
(commit 27512 by Campbell from render25 branch)
2010-03-16 17:58:13 +00:00
Brecht Van Lommel
d0c10cd060 draw option to only display what is rendered, used for sequencer, opengl drawing by default. since we use preview renders a lot the empties & armatures can get in the way also.
(commit 27511 by Campbell from render25 branch)
2010-03-16 17:49:31 +00:00
Brecht Van Lommel
ecb35d463b made re-project UI less confusing
(commit 27457 by Campbell from render25 branch)
2010-03-16 17:45:01 +00:00
Brecht Van Lommel
056972a97f minor changes to rna names for consistancy
(commit 27445 by Campbell from render25 branch)
2010-03-16 17:42:58 +00:00
Brecht Van Lommel
5c9c50e13b change the scene opengl sequence rendering to be a global option with rendering and scrubbing settings.
still need to do a do_versions for this to work right without changing settings.
(commit 27442 by Campbell from render25 branch)
2010-03-16 17:37:34 +00:00
Brecht Van Lommel
f12ef12021 error in recent commit.
(commit 27437 by Campbell from render25 branch)
2010-03-16 17:24:13 +00:00
Brecht Van Lommel
74fc6a07c0 library data selector, respect hide dot data, unless the user enters a '.'
(commit 27435 by Campbell from render25 branch)
2010-03-16 17:23:51 +00:00
Brecht Van Lommel
63a368ceaa - menu for selecting add scenes for the sequencer.
- update internal 'btempdir' from userprefs on changing and initializing the temp dir.
- add sequence strip operators nolonger require the sequence view to be active (better for automation).
(commit 27434 by Campbell from render25 branch)
2010-03-16 17:23:20 +00:00
Brecht Van Lommel
9a986d194c fix for nasty bug where registering properties would register them in the parent classes SRNA, made for confusing rigify args turning up in add sequencer adding collection.
(commit 27433 by Campbell from render25 branch)
2010-03-16 17:20:15 +00:00
Brecht Van Lommel
46ed51ce26 made argument conversion for much more verbose, wasnt giving enough info with bad operator args.
(commit 27432 by Campbell from render25 branch)
2010-03-16 17:19:42 +00:00
Brecht Van Lommel
f17dcf58c8 Fixes for thread related render / compositing crashes:
* Viewer node could free image while it is being redrawn, viewer image
  buffers now need acquire/release to be accessed as was already the
  case for render results.
* The Composite node could free the image buffers outside of a lock,
  also causing simultaneous redraw to crash.
* Especially on Windows, re-rendering could crash when drawing an image
  that was freed. When RE_RenderInProgress was true it would access the
  image buffer and simply return it while it could still contain a pointer
  to a render result buffer that was already freed. I don't understand
  why this case was there in the first place, so I've removed it.

Possibly fixes bugs #20174, #21418, #21391, #21394.
2010-03-16 16:58:45 +00:00
Arystanbek Dyussenov
735b444d74 Fix this error when building with collada: http://www.pasteall.org/11757 2010-03-16 16:15:30 +00:00
Roland Hess
d617294c49 New "Maintain Volume" constraint. When attached to a bone, you specify a "free" axis. Upon scaling, this free axis scales normally, but the constraint forces the other two axes to adjust themselves appropriately so that overall bone volume is maintained. So, setting "Y" as the free axis (the default) creates a bone that automatically squashes and stretches when scaling. Thanks to Aligorith, Fweeb, Cessen and others for the feedback. 2010-03-16 12:55:56 +00:00
Joshua Leung
1cf95d2494 Keying Set Fixes:
* 'Export Keying Set' operator works again - a change in the previous commit broke the created code
* Relative Keying Sets don't get their paths shown 
* Keying Set paths show options for inserting keyframes too now

---

Another attempt at fixing compile troubles, and removed some commented out + obsolete stuff.
2010-03-16 10:18:19 +00:00
Joshua Leung
f1c049137e Fixing compiler errors for those people who compile those c++ modules... bleh! 2010-03-16 08:07:43 +00:00
Matt Ebb
ca8f5cef79 Fix [#21250] Auto Refresh Movies on UV/Image editor doesn't work 2010-03-16 08:06:50 +00:00