Commit Graph

29423 Commits

Author SHA1 Message Date
Janne Karhu
f8124d6db7 [#26848] Keyed Particles seems to be broken
* Explode modifier wasn't updated properly when keyed particles were used.
* Explode modifier didn't get correct locations for grid distributed particles.
2011-04-10 11:24:29 +00:00
Campbell Barton
28594bc742 minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for convenience. 2011-04-10 10:45:56 +00:00
Campbell Barton
1c6956a4d6 quiet msvc/mingw compiler warnings. 2011-04-10 09:37:04 +00:00
Thomas Dinges
2d677efb3b Startup blend:
* Default material missed the mat preview icon.
2011-04-10 08:29:17 +00:00
Thomas Dinges
e0c759ece3 Startup blend:
* Removed the second console in the "Scripting" Screen Layout.
2011-04-10 07:53:18 +00:00
Matt Ebb
3815017c95 Labelling fix 2011-04-10 07:05:22 +00:00
Campbell Barton
74f3d03969 disable new cloth solver by default. 2011-04-10 06:06:26 +00:00
Campbell Barton
7aed432fc8 eltopo cloth solver couldnt be enabled from cmake, also dont use globbing. 2011-04-10 05:43:34 +00:00
Nathan Letwory
4d469265dd Enable WINDRES only for MinGW, otherwise we get multiple manifest errors for ie. vs2008 2011-04-09 23:25:52 +00:00
Joseph Eagar
0a60bc14d6 =cloth collisions=
Plugged the eltopo library into the cloth solver.
I was playing with it earlier, and it's so easy to
use I decided to quickly put it in (trunk's) cloth.

See http://www.cs.ubc.ca/labs/imager/tr/2009/eltopo/eltopo.html
.  The authors are on the bleeding edge of continuous collision
detection (one of them did ILM's cloth sim).  
I
don't really have to time to plug it into softbody, particles,
bullet, fluid, etc, but doing so would be pretty straightforward.
I'll leave that up to someone else.

To use, turn on USE_ELTOPO (in cmake) or WITH_BF_ELTOPO in scons.
2011-04-09 23:19:11 +00:00
Nathan Letwory
28478967f4 doxygen fix 2011-04-09 19:46:17 +00:00
Nathan Letwory
b344fe05ec whitespace 2011-04-09 19:23:49 +00:00
Sergey Sharybin
66cee63665 Fix crash for Windows+Intel video card configuration
Intel video cards don't work fine with multiple contexts and
have to share the same context for all windows. This could work
incorrect with multiple video cards configuration, so suppose
there'll be no such situation (Intel cards are mostly in portable
devices like notebooks and laptops, where there's actually no
dual video cards). Anyway, it should work much better now.

Non-Intel cards behavior was kept unchanged.

Thanks to Ton for debug session :)
2011-04-09 18:29:43 +00:00
Campbell Barton
5457c871ef change in how cmake works with CMAKE_C_STANDARD_LIBRARIES / CMAKE_CXX_STANDARD_LIBRARIES.
if not defined (first run) these are now set blank but can be defined later.

the problem is that scons & cmake builds would link against different libraries since cmake added its own defaults.
now, by default, scons & cmake have the same libraries.

This fixes an obscure crash in MinGW where cmakes default linking with -ladvapi32 would crash on string formatting which used float precision as an argument, eg:
  printf("%.*f", 3, value);
...without giving a useful backtrace or pointing to the line of code doing the string formatting.
2011-04-09 11:16:37 +00:00
Nathan Letwory
d13df6cffc Print out reports on console too (debug and up) as fix for [#26708] "INFO" reports are not displayed
reported by Tom Edwards

Showing of certain reports (ie. info) is very hidden. At least print these to console.
2011-04-09 02:23:39 +00:00
Campbell Barton
161927e27e remove -mwindows flag for scons/mingw, enable manifest & winblender.rc for all windows builds except for msvc2010 2011-04-09 00:10:29 +00:00
Nathan Letwory
9feb70d390 Add missing defines for .rc file. 2011-04-08 22:07:17 +00:00
Ton Roosendaal
1728c20a63 Fixes related to using Library files:
- Assigning local materials to library objects disabled
  (crashes on undo/redo cases)
- Disabling options in Material buttons to add/remove slots
  on library data
- Drawing Object ID template in Object properties, this
  allows browse active Object, but especially shows library
  status then.
2011-04-08 16:56:44 +00:00
Nathan Letwory
626c268096 Fix small typo in resource define. 2011-04-08 15:00:53 +00:00
Nathan Letwory
a0b172215d Clean up linking flags for win32. 2011-04-08 14:56:31 +00:00
Nathan Letwory
4d2562fb47 Clean up linking flags for win64. 2011-04-08 14:40:43 +00:00
Sergey Sharybin
20dea8c108 Fix for compilation under non-windows platforms -- missed check for
platform before WM_console_toggle call
2011-04-08 14:04:59 +00:00
Campbell Barton
70cd0803ab add new subtype PROP_COORDS, for generic coordinates that are not to be changed by units. 2011-04-08 13:32:56 +00:00
Nathan Letwory
2b95549079 Apply console part of patch [#26044] Windows thumbnails and improved filetype registration
submitted by Tom Edwards

This patch introduces a switch -con and its longer version --start-console. When giving this on cmd-line you'll get the black console window. The new behaviour is to hide it by default. We'll still see briefly the console at startup and during exit, but that's something that cannot be changed.

If you start blender from a cmd.exe, the console will not be hidden.
2011-04-08 12:49:38 +00:00
Campbell Barton
0f5959abd9 fix [#26674] Inconsistency in snapping CursorToSelection between UV_Editor and 3d_View. 2011-04-08 12:28:59 +00:00
Lukas Toenne
50969c24a6 Minor bugfix in initTransInfo: SpaceImage used even if space type is SPACE_NODE. 2011-04-08 12:02:30 +00:00
Janne Karhu
5ada3999ca Fix for [#26800] Particle Render "Use Group Count" is shared between different Particle Settings datablocks
* Copying particle settings didn't copy the dupliweights.
2011-04-08 10:28:16 +00:00
Nathan Letwory
08bb4bed94 doxygen comments, removal of superfluous backslash. 2011-04-08 09:31:13 +00:00
Campbell Barton
ed7f0c603f fix [#26803] Libs paths are case sensitive in windows
another case was exposed by this report, making relative paths wasn't case insensitive on windows.
2011-04-08 06:47:41 +00:00
Campbell Barton
e6c30a41ea can't include titles in function examples. 2011-04-08 05:03:02 +00:00
Campbell Barton
fefb044293 for thumbnail generation only scale the byte buffer. (was scaling float & byte). 2011-04-08 03:56:15 +00:00
Campbell Barton
b305a26d2f fix for own assert with image scaling, wasnt working with float images. 2011-04-08 03:53:40 +00:00
Campbell Barton
b0d6c0fdee fix [#26830] Blender crashes when opening this file
was linking NLA fcurve modifiers as fcurves (wrong function call).
2011-04-08 02:21:43 +00:00
Campbell Barton
6b3f5ecd18 change to fcurve keyframe coords broke simplify addon since the property
was no longer wrapped by python as a vector. now fixed size float arrays
with PROP_NONE subtype are wrapped as vectors since its convenient to
have x/y access.
2011-04-08 01:40:54 +00:00
Ton Roosendaal
ba44bf522c Bugfix #26812
On anim-render, a click in timeline stopped render completely.

The reason for this was a bit wacko code to cope with frame-step 
feature (steps of multiple frames).

I thought of fixing that, but instead decided to block any operator 
in Blender to change a frame while a render is in progress. 
Both render engine and UI are accessing (writing to) the same 
data then, which is a bad conflict.

Still a serious weakness of threaded render, but I'll keep
trying to allow this as far as possible :)
2011-04-07 15:48:33 +00:00
Ton Roosendaal
545b0a483d Bugfix #26748
Boolean modifier should be restricted to Mesh objects only.
2011-04-07 13:14:08 +00:00
Ton Roosendaal
5c2b8baa4b Minor fix, own collection.
Knife cut operator was using int_get where enum_get was meant.
2011-04-07 12:36:24 +00:00
Campbell Barton
3e5e49d902 add margin access [#26806] Missing pack margin for pack islands in UV editor 2011-04-07 08:54:43 +00:00
Campbell Barton
24d6192f53 fix [#26816] P(separate) an object messes up logic brick links 2011-04-07 08:23:00 +00:00
Campbell Barton
24b012c978 Sphinx RNA API changelog generator.
- lists added and removed functions and properties.
- lists renamed properties (does fuzzy comparison using min/max, description, type)
- lists functions with arguments changed.

Committed change log from 2.56 -> 2.57:
  http://www.blender.org/documentation/250PythonDoc/change_log.html
2011-04-07 07:53:28 +00:00
Mitchell Stokes
8d100c032e Updating BGE dynamic loading docs:
* Adding load_action and verbose keyword args for LibLoad()
  * Adding LibList()
2011-04-07 04:00:56 +00:00
Dalai Felinto
4fb7f6a706 build fix after commit 36036 reported by Tom Edwards over mailing list 2011-04-06 22:03:02 +00:00
Brecht Van Lommel
0a9ec053c0 Fix for Image.pixels set, buffer was not tagged as modified, patch by Domino Marama. 2011-04-06 12:54:47 +00:00
Sergey Sharybin
dbe3369ae2 Name unification commit for console toggling operator.
Requested by Dalai, approved by Campbell. Other requested from Dalai
changes were rejected by our Python Departament.
2011-04-06 12:30:07 +00:00
Sergey Sharybin
11efce450d Fixed incorrect RNA access when changing type of sequencer view 2011-04-06 07:24:58 +00:00
Campbell Barton
56968bb580 dfelinto noticed text editor section was missing. 2011-04-06 06:47:04 +00:00
Campbell Barton
696e7a311a include needed for windows 2011-04-06 06:29:10 +00:00
Campbell Barton
083f8d3a0a cmake/windows, temporarily build without winblender.rc until its fixed, was giving linking error with msvc2010 and isn't essential info. 2011-04-06 06:11:39 +00:00
Campbell Barton
a7507e945d fix [#26803] Libs paths are case sensitive in windows
use case insensitive path comparison on windows: BLI_path_cmp
2011-04-06 06:03:48 +00:00
Campbell Barton
5c7bed92d4 fix for cmake glew includes (tested with mingw), also made qtcreator project generator work with mingw again 2011-04-06 03:02:40 +00:00