Commit Graph

66005 Commits

Author SHA1 Message Date
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
20819ddcc9 Smoke: forgot cmake file 2009-07-30 15:25:56 +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
98d45c3da0 smoke: another fftw3 error fixed 2009-07-30 15:07:44 +00:00
Daniel Genrich
accc2ab744 smoke: forgot to disable fftw3 noise function 2009-07-30 15:03:00 +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
1b26fe50c3 * More lamp tweaks, meant to commit this last night 2009-07-30 13:56:39 +00:00
Matt Ebb
224ec40e45 * Some nicer icons for the render still/ animation buttons 2009-07-30 13:35:32 +00:00
Campbell Barton
ec4904a9fe Support for povray radiosity settings, adjust in scene panel. 2009-07-30 11:05:45 +00:00
Thomas Dinges
248fa8ec54 2.5 Buttons:
* Material buttons didn't import. Fixed.
* Removed Path label from Fluid panels.
2009-07-30 10:38:46 +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
Thomas Dinges
d56466747d 2.5 Part 3 of Layout Code Cleanup:
* More cleanup to match new coding guidelines.
http://wiki.blender.org/index.php/Dev:Py/Blender2.5/Layouts/Guidelines

* Replaced some if's with proper elif's.
* Removed some unnecessary code.
Note: Please don't use inconsistent assign names like colsub, subcol1 etc. anymore!
2009-07-30 10:11:19 +00:00
William Reynish
249c5fcddc World UI
Cleaned up AO influence controls. These buttons had no labels, and were aligned strangely. Also made mist intensity a slider, since it's a percentage.
2009-07-30 08:30:57 +00:00
Arystanbek Dyussenov
0d8816cc6f Added COLLADA import/export items to "File" menu. Thanks Campbell! 2009-07-30 08:29:03 +00:00
Arystanbek Dyussenov
7725687455 Merge with 2.5 -r 21788:22040. 2009-07-30 08:22:51 +00:00
Campbell Barton
ade8f5197a Engine specific panel's
- All of this is in python and easy to change.
- each panel class has a set() of compatible engines.
- this set is checked for the poll function
- external engines can add themselves to this panels compatible engines
eg.
 buttons_world.WORLD_PT_mist.COMPAT_ENGINES.add('POVRAY_RENDER')

I tried doing this by subclassing each panel and replacing only the poll function to reference 'POVRAY_RENDER' but it became fairly complicated and meant registering many of the same panels under different names.

Added mist support to povray.
2009-07-30 08:10:10 +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
Thomas Dinges
fa7a2091f1 2.5 MetaBall Buttons:
* Code and layout cleanup.
2009-07-29 17:15:17 +00:00
Matt Ebb
198d996934 * a few more small lamp panels tweaks 2009-07-29 14:17:15 +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
Matt Ebb
2ee51efd6b * Reverted some superfluous button alignment. The
'Align' should not be overused, it gets quite ugly (and 
loses communication impact) when used between 
buttons of different types. Dependencies should be 
shown via layout and greying out.

These lamp panels still needs some cleaning up too...
2009-07-29 13:33:14 +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
Joshua Leung
b3d0753467 2.5 - Small tweaks to order of buttons for Animation Editor header buttons to have more consistent layout 2009-07-29 11:59:21 +00:00
Ton Roosendaal
1744061a91 2.5
Small fix: SHIFT+D caused transform to move with more precision, as if
shiftkey was pressed.
2009-07-29 11:53:37 +00:00