Commit Graph

47594 Commits

Author SHA1 Message Date
Tamito Kajiyama
d62f844b12 Fixed typoes in error messages. 2009-07-31 21:44:02 +00:00
Tamito Kajiyama
4e78dff629 Added Python error handling to StrokeShader::shade(). Also made
a measure to avoid an infinite loop due to non-proper overriding
of the shade method.
2009-07-31 21:03:22 +00:00
Chingiz Dyussenov
c7beb4eba2 Disabled light and material exporting to make it compile with the latest OpenCollada. 2009-07-31 20:35:14 +00:00
Robert Holcomb
a0c22badc1 Bug fix in low value setting. Originally checked against the wrong channel (chroma) instead of the luminence channel.
Changed default value for high value to 1.0 from 0.0.
2009-07-31 12:51:18 +00:00
William Reynish
b7d11a5eef Tiny tweaks to modifier template. Added more logical icons for enabling modifiers in edit mode etc. 2009-07-31 10:21:29 +00:00
Campbell Barton
3eb8000eb4 remove more unneeded args, also allow ipo to animate the ref value for KX_BlenderMaterial's 2009-07-31 09:05:13 +00:00
Joshua Leung
a1eef5bb4d Animato - NLA + Realtime Animating Goodies
* When doing realtime recording of animation (i.e. transforming objects + bones while animation playback is running, and auto-keying is enabled), animation will be added to a new NLA Track+Strip combo everytime a single 'loop' of the frame range has finished. This will allow 'passes' over the animation to be less destructive.

* Made the evaluation of the active action (when NLA data is present), be handled as part of the normal NLA system evaluation code (as if it were just another strip in a track at the end). The immediate benefit is that there are now some settings (available in the "Animation Data" panel in the NLA Editor with a strip selected) which allow for the way the active action is combined with the NLA stack results. For instance, the way that the action extrapolates is used in the recording tweaks above.
2009-07-31 07:43:47 +00:00
Matt Ebb
6aed229cc0 * Updated icon sheet, thanks jendryzch! 2009-07-31 02:16:07 +00:00
Campbell Barton
2a727083c9 fix for warnings and implicit declarations
also fixed smoke comparing a float's mem-location rather then its value.
2009-07-31 01:40:15 +00:00
Campbell Barton
c371f49d9a svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r21908:22075 2009-07-31 00:42:10 +00:00
Nicholas Bishop
b55e996874 Sculpt/2.5:
* Fix for bug reported by Brian Staub, sculpt on transformed objects wasn't working.
2009-07-30 22:24:05 +00:00
Daniel Genrich
da4ab9b14b Smoke:
a) Crash fixed when loading files with smoke
b) changed presets to be more low-cpu friendly
c) smoke looks thicker

Unsolved:
a) 3dview of smoke changes weirdly when looking at front/back. Just move around a cube with smoke and you know what I mean - odd shading. If someone likes to take a look: draw_object.c -> search for "smoke" there
2009-07-30 22:11:28 +00:00
Campbell Barton
7301f33b26 remove some unused function args 2009-07-30 21:42:29 +00:00
Campbell Barton
9561d34dbb changes to defaults for sequencer strip adding 2009-07-30 20:22:55 +00:00
Daniel Genrich
dbba273371 Smoke: fixing some compile warning reported by Ton and one compile erro for gcc 4.4.1 reported by mrunion 2009-07-30 20:12:40 +00:00
Thomas Dinges
fc9204b746 2.5 Background Image:
* Added notifier.
2009-07-30 19:19:21 +00:00
Ton Roosendaal
5eee72b092 2.5
Another Makefile fix for smoke
2009-07-30 18:41:36 +00:00
Ton Roosendaal
466435553f 2.5
Makefile fix to link smoke lib
2009-07-30 18:41:19 +00:00
Guillermo S. Romero
d3fb4ec0b4 SVN maintenance. 2009-07-30 18:39:22 +00:00
William Reynish
a39192f243 Separated metaball size values, and hid inapplicable values depending on metaball type. 2009-07-30 18:32:20 +00:00
Stefan Gartner
1c6cb51e65 2.5:
first step at adding Makefiles for smoke

NOTE: someone needs to add $(NAN_SMOKE)/lib/$(DEBUG_DIR)/libsmoke.a 
to source/Makefile to make it link
2009-07-30 18:19:46 +00:00
Arystanbek Dyussenov
8a5b054c51 COLLADA importer is reading armature from DAE. "Leaf" bones, bones having more than one child and zero-length bones get the size of
a minimum bone length in skeleton and are assigned a sphere shape.

Also fixed rotation reading by re-ordering items in matrix multiplication.

Images:
http://img339.imageshack.us/img339/8778/flufty.png
http://img117.imageshack.us/img117/4641/astroboy.png
2009-07-30 17:05:16 +00:00
Thomas Dinges
2f79219c07 2.5 Smoke:
* Put Smoke Modifier in the right alphabetical order in RNA and py file.
* Some small naming changes.

Commit approved by Genscher. :)
2009-07-30 16:38:00 +00:00
Daniel Genrich
8ddf8ff977 Blender Smoke credits:
Wavelet Turbulence for Fluid Simulation
Copyright 2008 Theodore Kim and Nils Thuerey 
Paper + Website: http://www.cs.cornell.edu/~tedkim/WTURB/
2009-07-30 15:17:41 +00:00
Daniel Genrich
58c88bcf76 BF2.5: First commit of smoke code.
Not working: 
a) rendering (since volumterics branch is not merged yet)
b) moving collision objects of any kind
c) saving of collision objects (because that's what I am working on)
d) pointcache
e) A bunch of other things I already know of 

So please do not report any bugs on this one yet :-)
2009-07-30 15:00:26 +00:00
Matt Ebb
224ec40e45 * Some nicer icons for the render still/ animation buttons 2009-07-30 13:35:32 +00:00
Joshua Leung
13786ba621 2.5 - Tiny tweak to a tiny tweak for text padding (22039)
The second tweak made (for the case without an icon) was causing superfluous spacing all over the UI for things like checkboxes + combo-boxes + text widgets. This was quite ugly and gave readability issues with the checkboxes in particular.
2009-07-30 10:33:27 +00:00
Arystanbek Dyussenov
7725687455 Merge with 2.5 -r 21788:22040. 2009-07-30 08:22:51 +00:00
Arystanbek Dyussenov
1d6a92deed - setting leaf bone size to minimum bone size in bone branch
- trying to determine bone orientation from joint matrix

Looks like DAE joint matrix orientation cannot be relied upon as a source for bone direction. It can be axis-aligned or pointing in 
totally different direction:

http://img75.imageshack.us/img75/8778/flufty.png

It seems to me the best solution is to add a bone with custom draw type that has no pointing direction, sphere for example. Will code 
this after merge!
2009-07-30 06:35:27 +00:00
Matt Ebb
61bd567071 * tiny tweak to icon/text padding in list ui templates 2009-07-30 03:26:33 +00:00
Campbell Barton
39ea55fff1 Operator Copy/Paste
you can copy operator strings from buttons or the reporting interface and run them in the console.

- Ctrl+C over an operator button copies its python string to the clipboard.
- Paste in the console (1 line only for now).
- operators run from python no longer require all arguments.
2009-07-30 01:52:00 +00:00
Martin Poirier
24a269a07c Move some sketching base code in kernel.
Other code will eventually move out of armature editor (to help reuse).

This solves the issue reported by Cambo on the ml about kernel code calling editor functions.
2009-07-30 01:39:42 +00:00
Campbell Barton
78b32ceeed switched file and dir by mistake 2009-07-30 00:46:48 +00:00
Campbell Barton
86cfc1966e better blender doesnt look idiot for siggraph with tips wider then the screen.
only show operator args in the tooltip that are different from the defaults.
2009-07-29 23:48:06 +00:00
Brecht Van Lommel
5896233564 2.5: update .B.blend, to have 1:1 zoom levels for the buttons. 2009-07-29 23:21:57 +00:00
Campbell Barton
e5a668ea9b error in last comit 2009-07-29 23:18:18 +00:00
Campbell Barton
239b78c637 - include operator commands in tooltips (needs sanitizing for transform operators, there are massive :|)
- WM_operator_pystring can now be used with an operator type and properties (rather then a wmOperator instance)
- removed menus from file selector
2009-07-29 23:12:30 +00:00
Brecht Van Lommel
408ba429e6 2.5: Buttons View
* When resizing the window, the top position is now preserved,
  instead of the center position.
* Fix zoom level not being preserved in various cases, when
  changing both with and height. This replaces some earlier code
  which did this at screen level but wasn't very reliable.
* Different tabs now each preserve their own scroll.
* When switching between tabs, it now scrolls to show as many
  buttons as possible, instead of possibly showing empty space.
  There is a trade-off here between doing that keeping the
  buttons in the same place, no ideal solution exists I think.
* Change zooming in/out to be symmetric, for example doing
  numpad + then - did not give the original zoom level back.
* Added some calls to avoid hanging tooltips when manipulating
  the view.

Internals:
* Added V2D_KEEPOFS_X and V2D_KEEPOFS_Y to keep the top/bottom
  rather than the center.
* Renamed V2D_KEEPZOOM to V2D_LIMITZOOM (seems more appropriate),
  and make V2D_KEEPZOOM preserve the zoom level.
2009-07-29 22:57:53 +00:00
Guillermo S. Romero
2df1eeba0e Only show ~/Desktop/ if really exists. 2009-07-29 22:37:33 +00:00
Brecht Van Lommel
80015c8867 2.5: File Browser on Unix
* Attempt to better filter file systems, it displayed all kinds
  of devices which are not interesting to the user. The trick
  used is now to use mounts starting with "/dev".
* Add / at the end to properly highlight directories in the list.
* Fix for non-linux unixes, this now falls back to showing / again.
2009-07-29 21:35:03 +00:00
William Reynish
992382ddb3 Even more metaball layout changes.
Added icons in menu, moved type setting at top of panel. Need to make the size widgets only show the relevant options.
2009-07-29 20:56:22 +00:00
Elia Sarti
49faf9011a 2.5 / Drag & Drop
Removed all related code. Talked with Ton about this and agreed to postpone it at indefinite time in the future, when things get more relaxed.
Files saved since my first commit should not break although I'm not 100% sure.
2009-07-29 20:51:05 +00:00
Tamito Kajiyama
3771d648d0 Added minor changes. 2009-07-29 18:49:03 +00:00
Thomas Dinges
2621dd90e3 2.5 MetaBalls:
* Layout tweaks by nudelZ. Thanks!
2009-07-29 18:44:54 +00:00
Ton Roosendaal
da14738624 2.5
Two bugfixes, reported by Sebastian Skejo in IRC:

- File operator poll wasn't secure, search for it crashed
- Knife tool depends on having view3d context, fixed poll for it
2009-07-29 18:15:46 +00:00
Ton Roosendaal
785bf413f3 2.5
On 2nd thought: added back undopushes on every button use.
Operator re-use works with it now!
2009-07-29 18:04:35 +00:00
Ton Roosendaal
3d70e21c17 2.5
Makefile fix: added metaball.a lib
2009-07-29 18:03:25 +00:00
Ton Roosendaal
4a1266baad 2.5
Operator goodies!

--- Macro operators

Operators now can consist of multiple operators. Such a macro operator
is identical and behaves identical to other opererators. Macros can
also be constructed of macros even! Currently only hardcoded macros are
implemented, this to solve combined operators such as 'add duplicate' or
'extrude' (both want a transform appended).

Usage is simple:
- WM_operatortype_append_macro() : add new operatortype, name, flags
- WM_operatortype_macro_define() : add existing operator to macro

(Note: macro_define will also allow properties to be set, doesnt work
 right now)

On converting the macro wmOperatorType to a real operator, it makes a
list of all operators, and the standard macro callbacks (exec, invoke,
modal, poll) just will use all.

Important note; switching to a modal operator only works as last in the
chain now!

Macros implemented for duplicate, extrude and rip. Tool menu works fine
for it, also the redo hotkey F4 works properly.

--- Operator redo fix

The operators use the undo system to switch back, but this could give
errors if other actions added undo pushes (buttons, outliner). Now the
redo for operator searches back for the correct undo level.

This fixes issues with many redos.

Note for brecht: removed the ED_undo_push for buttons... it was called
on *every* button now, which is probably too much? For example, using
the 'toolbar' redo also caused this...
2009-07-29 17:56:38 +00:00
Jiri Hnidek
9547fc48ac - Fix some things I missed in my last commit
- Change name of OBJECT_OT_object_add operator
 - Use new OBJECT_OT_object_add operator in space_info.py
2009-07-29 14:07:51 +00:00
Jiri Hnidek
f75005c2a8 2.5 MetaBalls
- It is possible to work with MetaBalls in edit mode now
 - Added basic UI to the button window (feel free to change it :-))
 - Header menus should work
 - Undo & redo should work
 - Removed global variable editelems and lastelem (moved it to the MetaBall struct)
 - All tools from old editmball.c was converted to the operators
 - Added lastelem to the RNA
 - Experimental: mb->editelems is only pointer at mb->elems or NULL (depends on Mode). ListBase of MetaElems is not duplicated in edit mode.

Tested with scons at Linux and mac OS X

TODO:
 - Recalc data after Undo or Redo
 - Solve issue with basic MetaBall and Python UI script (only base MetaBall object influence Wiresize and Threshold)
 - Fix orientation of manipulator in "Normal mode"
2009-07-29 12:35:09 +00:00