blender.git
11 years agoSmoke: no lamp results in no shading (requested by nudelZ)
Daniel Genrich [Thu, 13 Aug 2009 21:29:05 +0000 (21:29 +0000)]
Smoke: no lamp results in no shading (requested by nudelZ)

11 years ago2.5/Sculpt:
Nicholas Bishop [Thu, 13 Aug 2009 20:05:36 +0000 (20:05 +0000)]
2.5/Sculpt:

* Moved the brush texture settings to MTex/TextureSlot. The mapping settings now show up in the texture panel, pretty much like they do for textures used with materials.

TODO:
* Tiled mode should not show Z size setting
* Add a locked mode so that texture size can be changed uniformly like in 2.4x

11 years agoMSVC compile fix.
Andrea Weikert [Thu, 13 Aug 2009 18:26:15 +0000 (18:26 +0000)]
MSVC compile fix.
* replaced snprintf with BLI_snprintf
* in unit.c used the #define hack used in several places already to avoid adding additional dependency.

11 years agoadded string max length option for unit functions bUnit_AsString and bUnit_ReplaceString
Campbell Barton [Thu, 13 Aug 2009 17:05:27 +0000 (17:05 +0000)]
added string max length option for unit functions bUnit_AsString and bUnit_ReplaceString

11 years ago2.5 Timeline:
Thomas Dinges [Thu, 13 Aug 2009 16:59:52 +0000 (16:59 +0000)]
2.5 Timeline:

WIP Commit, still uncommented.
* Adeed some RNA properties for Playback.
* Start of Python File.

11 years agoSome changes to smoke ui (path by nudelZ) - this divides the panel in normal and...
Daniel Genrich [Thu, 13 Aug 2009 14:27:35 +0000 (14:27 +0000)]
Some changes to smoke ui (path by nudelZ) - this divides the panel in normal and advanced options

11 years ago2.5 - Fix for segfaults with entering text in normal number buttons (i.e. frame butto...
Joshua Leung [Thu, 13 Aug 2009 11:54:12 +0000 (11:54 +0000)]
2.5 - Fix for segfaults with entering text in normal number buttons (i.e. frame buttons in timeline header).

11 years agoAccidentally made the game collision bounds panel display itself when Blender Render...
William Reynish [Thu, 13 Aug 2009 09:30:36 +0000 (09:30 +0000)]
Accidentally made the game collision bounds panel display itself when Blender Render was selected as the renderer.

11 years ago- moved unit settings from user prefs into the scene.
Campbell Barton [Thu, 13 Aug 2009 07:37:41 +0000 (07:37 +0000)]
- moved unit settings from user prefs into the scene.
- use the scene context for the unit settings since there isn't a better place for it currently.
- added 'chain' to imperial units
- set more rna props to be distances and angles.

11 years ago2.5 - Assorted cleanups
Joshua Leung [Thu, 13 Aug 2009 07:28:51 +0000 (07:28 +0000)]
2.5 - Assorted cleanups

* Silencing some compiler warnings
* Set paths for Scene rendering settings so that they can be animated (or at least won't produce error warnings)

11 years agoAdded game soft body settings, and cleaned up layout there slightly.
William Reynish [Wed, 12 Aug 2009 22:16:47 +0000 (22:16 +0000)]
Added game soft body settings, and cleaned up layout there slightly.
Also converted some other percentage properties to use sliders, and a few other small layout tweaks.

11 years ago* fixing linking flag form.
Nathan Letwory [Wed, 12 Aug 2009 18:12:33 +0000 (18:12 +0000)]
* fixing linking flag form.

11 years ago2.5 MSVC 9 projectfiles maintenance
Andrea Weikert [Wed, 12 Aug 2009 18:06:30 +0000 (18:06 +0000)]
2.5 MSVC 9 projectfiles maintenance
* rev. 22367: splitting of anim_channels.c
* rev. 22383: units.c in blenkernel added
* Fix include paths was intern/audaspace, code expected intern/audaspace/intern

11 years agoMistake in previous commit.
Janne Karhu [Wed, 12 Aug 2009 17:41:03 +0000 (17:41 +0000)]
Mistake in previous commit.

11 years agoSmoke: accidentally left some old code in
Daniel Genrich [Wed, 12 Aug 2009 17:39:38 +0000 (17:39 +0000)]
Smoke: accidentally left some old code in

11 years agoVarious fixes:
Janne Karhu [Wed, 12 Aug 2009 17:39:11 +0000 (17:39 +0000)]
Various fixes:
- Correct fix for file loading crash introduced by earlier point cache commit.
- Simulations are no longer calculated to current frame at render time automatically.
* This has to be thought through more carefully at some point, perhaps through render profiles.
* All simulations can be updated manually to current frame from any cache panel with the "update all to current frame" button.
- Some explanatory comments added for BKE_pointcache.h.

11 years agoSmoke:
Daniel Genrich [Wed, 12 Aug 2009 17:32:02 +0000 (17:32 +0000)]
Smoke:
* New feature: "Dissolve Smoke" - Idea by nudelZ

11 years agounit grid snap while transforming, display units in the header.
Campbell Barton [Wed, 12 Aug 2009 17:02:03 +0000 (17:02 +0000)]
unit grid snap while transforming, display units in the header.

11 years agoEdited timeline header layout slightly.
William Reynish [Wed, 12 Aug 2009 15:55:15 +0000 (15:55 +0000)]
Edited timeline header layout slightly.

-Made the 'PR' button not align itself to the start/end frame fields, as this makes for a nicer visual rounding of those two numbers.
-Made current frame indicator longer, to allow for display of higher frame numbers
-Removed the auto-keyframe dropdown menu. This exists as a preference, and doesn't need to take up space here. This is not something you're likely to change much after all.
-Made the keying sets menu stay put in the UI. It was moving about depending on what options are selected to the left of it. This sort of moving around should be avoided as much as possible.
-Swapped Add/Delete keyframe buttons. It's more intuitive to have the add key button first.

11 years agoPut back sequencer type icons, and moved the type menu, separating it from the menus.
William Reynish [Wed, 12 Aug 2009 14:39:57 +0000 (14:39 +0000)]
Put back sequencer type icons, and moved the type menu, separating it from the menus.

11 years agoSequencer UI layout tweaks.
William Reynish [Wed, 12 Aug 2009 14:21:43 +0000 (14:21 +0000)]
Sequencer UI layout tweaks.

There was a mix in the layout of these panels; some were single column, some dual column. All these n-key sidebars seem to work best with single column layouts to minimize wasted space, so made all the panels fit that paradigm.

Also included a bunch of labels and a bit of layout cleanup.

11 years agowhen units are enabled use them for 3d viewport grid drawing, display the dimension...
Campbell Barton [Wed, 12 Aug 2009 14:11:53 +0000 (14:11 +0000)]
when units are enabled use them for 3d viewport grid drawing, display the dimension for the smallest grid cell.

still need to make this work with grid snapping.

11 years ago2.5
Ton Roosendaal [Wed, 12 Aug 2009 13:07:12 +0000 (13:07 +0000)]
2.5

Removed BKE_ptcache_ids_from_object() from readfile.c do_versions,
this cannot work... IDs are not set for versioning. Will need to go
over this with janne what he actually wants to achieve here...

This solves crash on startup of Blender. Tsk!

11 years ago* osx cmake libsamplerate fix
Matt Ebb [Wed, 12 Aug 2009 12:17:41 +0000 (12:17 +0000)]
* osx cmake libsamplerate fix

11 years agoReverting "fix" - didnt fix crash at all.
Daniel Genrich [Wed, 12 Aug 2009 12:15:45 +0000 (12:15 +0000)]
Reverting "fix" - didnt fix crash at all.

jahka: please take a look at this, several people in #blendercoders now reporting crashes on startup.

11 years agoParticles: should fix crash on startup
Daniel Genrich [Wed, 12 Aug 2009 11:12:20 +0000 (11:12 +0000)]
Particles: should fix crash on startup

11 years ago2.5
Ton Roosendaal [Wed, 12 Aug 2009 10:38:35 +0000 (10:38 +0000)]
2.5

Bad commenting in header file.

11 years agoNew point cache file format:
Janne Karhu [Wed, 12 Aug 2009 09:54:29 +0000 (09:54 +0000)]
New point cache file format:
- HEADER (beginning of each file)
* general header:
+ 8 char: "BPHYSICS"
+ 1 int: simulation type (same as PTCacheID->type)
* custom header (same for sb, particles and cloth, but can be different for new dynamics)
+ 1 int: totpoint (number of points)
+ 1 int: data_types (bit flags for what the stored data is)
- DATA (directly after header)
*totpoint times the data as specified in data_types flags

- simulation type
soft body = 0, particles = 1, cloth = 2
- data types (more can be added easily when needed)
data flag contains
----------------------------------------
index (1<<0) 1 int (index of current point)
location (1<<1) 3 float
velocity (1<<2) 3 float
rotation (1<<3) 4 float (quaternion)
avelocity  (1<<4) 3 float (used for particles)
xconst (1<<4) 3 float (used for cloth)
size (1<<5) 1 float
times (1<<6) 3 float (birth, die & lifetime of particle)
boids (1<<7) 1 BoidData

Notes:
- Every frame is not nescessary since data is interpolated for the inbetween frames.
- For now every point is needed for every cached frame, the "index" data type is reserved for future usage.
- For loading external particle caches only "location" data is necessary, other needed values are determined from the given data.
- Non-dynamic data should be written into an info file if external usage is desired.
* Info file is named as normal cache files, but with frame number 0;
* "Non-dynamic" means data such as particle times.
* Written automatically when baking to disk so basically a library of particle simulations should be possible.
- Old disk cache format is supported for reading, so pre 2.5 files shouldn't break. However old style memory cache (added during 2.5 development) is not supported. To keep memory cached simulations convert the cache to disk cache before svn update and save the blend.
- External sb and cloth caches should be perfectly possible, but due to lack of testing these are not yet enabled in ui.

Other changes:
- Multiple point caches per dynamics system.
* In the future these will hopefully be nla editable etc, but for now things are simple and the current (selected) point cache is used.
* Changing the amount of cached points (for example particle count) is allowed, but might not give correct results if multiple caches are present.
- Generalization of point cache baking etc operator & rna code.
- Comb brushing particle hair didn't work smoothly.

11 years agoSet the clickstep for unit buttons to each click moves 1 unit.
Campbell Barton [Wed, 12 Aug 2009 08:16:10 +0000 (08:16 +0000)]
Set the clickstep for unit buttons to each click moves 1 unit.

11 years ago- was displaying 1cm as 10mm because of double precission problem.
Campbell Barton [Wed, 12 Aug 2009 07:23:10 +0000 (07:23 +0000)]
- was displaying 1cm as 10mm because of double precission problem.
- typing in numbers without any units will use the units displayed before editing the value.
- fixed some errors

11 years agofix for errors evaluating user input when units are disabled
Campbell Barton [Wed, 12 Aug 2009 05:53:12 +0000 (05:53 +0000)]
fix for errors evaluating user input when units are disabled

11 years agoadded time units, currently only used when metric or imperial are enabled.
Campbell Barton [Wed, 12 Aug 2009 05:20:16 +0000 (05:20 +0000)]
added time units, currently only used when metric or imperial are enabled.

long/short units...
day,d,  hour,hr,h,  minute,min,m, second,sec,s,  millisecond,ms,  microsecond,us

Also may fix some bugs that were reported.

Note, to convert fps to time evil_C needs to be used to get the scene.

11 years ago- missing a decref for new pytypes
Campbell Barton [Tue, 11 Aug 2009 19:20:31 +0000 (19:20 +0000)]
- missing a decref for new pytypes
- remove needless strlen

11 years agouser interface units, off by default.
Campbell Barton [Tue, 11 Aug 2009 18:53:01 +0000 (18:53 +0000)]
user interface units, off by default.

- currently only distances work.
- user preferences, edit section to set the units and scale.
- option to display pairs (nicer for imperial display?)
- support for evaluating multiple comma separated values eg: 2',11" ..or.. 5ft, 4mil
- comma separated expressions/values accumulate 1+1,2**3,4cm/3
- attempted fast conversion from a value to a string so button drawing isn't too slow.

* imperial long/short *
- mile, mi
- yard, yd
- foot, '
- inch, "
- thou, mil

* metric long/short *
kilometer, km
meter, m
centimeter, cm
millimeter, mm
micrometer, um
nanometer, nm
picometer, pm

11 years agoAdded libsamplerate.a in Makefile
Ton Roosendaal [Tue, 11 Aug 2009 18:39:27 +0000 (18:39 +0000)]
Added libsamplerate.a in Makefile

The structure for names where this lib is could need fix...
will need feedback from other make users.

Also Python lib in svn is wrong, intel lib???

11 years ago2.5: User Preferences:
Thomas Dinges [Tue, 11 Aug 2009 18:19:09 +0000 (18:19 +0000)]
2.5: User Preferences:

* Code cleanup. Note: This file doesn't follow the UI code guidelines due to some more complex layout structure.
Will think about this special case.

* Added new Sound Options into the System settings.

11 years ago2.5
Ton Roosendaal [Tue, 11 Aug 2009 18:14:49 +0000 (18:14 +0000)]
2.5

Makefiles to get new AUD stuff to compile (OSX 10.3 PPC)
It uses lib/samplerate, which gets committed soon too

11 years agoSVN maintenance.
Guillermo S. Romero [Tue, 11 Aug 2009 17:51:45 +0000 (17:51 +0000)]
SVN maintenance.

11 years agoFix for batch mode.
Joerg Mueller [Tue, 11 Aug 2009 13:07:24 +0000 (13:07 +0000)]
Fix for batch mode.

11 years agoSmoke: fix problem with more than 1 domain + collision and flow groups - reported...
Daniel Genrich [Tue, 11 Aug 2009 12:01:36 +0000 (12:01 +0000)]
Smoke: fix problem with more than 1 domain + collision and flow groups - reported by nudelZ aka "Master of Smoke"

11 years agoAnimation Editors: Code Cleanup Part 1 - Drawing
Joshua Leung [Tue, 11 Aug 2009 11:52:23 +0000 (11:52 +0000)]
Animation Editors: Code Cleanup Part 1 - Drawing

Finally started refactoring the drawing code for animation editors so that all the drawing (of the channels/names list) is done using standardised code for all the editors.

A little specialised system for this has been made, and is now used for DopeSheet and Graph Editor drawing. This should make it easier to add new channel types with less effort.

Protect/mute toggles are now always clamped to the right-hand edge of the channels list. So you can now make the list wider to view longer names fully. However, since the mouse-handling hasn't been fixed yet, this won't always work.

TODOs:
* make mouse-click handling code use this system too, simplifying things to 1-2 lines of code there. Maybe this could be made to use UI widgets instead at a later date?
* NLA still needs to be ported to this system

11 years agofix for using subtype units that are not defined as a part of types. eg.
Campbell Barton [Tue, 11 Aug 2009 11:50:40 +0000 (11:50 +0000)]
fix for using subtype units that are not defined as a part of types. eg.
 prop= RNA_def_property(srna, "cursor_location", PROP_FLOAT, PROP_XYZ|PROP_UNIT_LENGTH);

11 years agoFix a bug in Ghost causing crash on Blender exit.
Benoit Bolsee [Tue, 11 Aug 2009 11:44:45 +0000 (11:44 +0000)]
Fix a bug in Ghost causing crash on Blender exit.

11 years agofixed mistake made when changing rna prop definition functions, made povray custom...
Campbell Barton [Tue, 11 Aug 2009 02:27:25 +0000 (02:27 +0000)]
fixed mistake made when changing rna prop definition functions, made povray custom props fail.

11 years agoMSVC project files: removed SoundSystem completely
Benoit Bolsee [Mon, 10 Aug 2009 21:53:19 +0000 (21:53 +0000)]
MSVC project files: removed SoundSystem completely

11 years agoUNTESTED: Fixes for cmake on apple; libsamplerate and ffmpeg.
Joerg Mueller [Mon, 10 Aug 2009 21:48:17 +0000 (21:48 +0000)]
UNTESTED: Fixes for cmake on apple; libsamplerate and ffmpeg.

11 years agoRNA: subtypes and units
Brecht Van Lommel [Mon, 10 Aug 2009 21:31:05 +0000 (21:31 +0000)]
RNA: subtypes and units

* Reviewed subtypes, making them more specific and adding new ones.
* Subtypes now have an associated type of units (length, area, volume,
  mass, rotation, time, velocity, acceleration). These are not used
  yet anywhere.
* Centralized code that decides the name of array items based on
  subtype (XYZ, RGB), was copied in 3 places.
* RNA_def_float etc functions still need to be update, will do this
  later together with another change.

11 years agoRNA: make curve and metaball update functions consistent with
Brecht Van Lommel [Mon, 10 Aug 2009 21:10:09 +0000 (21:10 +0000)]
RNA: make curve and metaball update functions consistent with
others, these cannot assume the existence of an edit object
or active object.

11 years ago2.5: Fixes
Brecht Van Lommel [Mon, 10 Aug 2009 20:57:12 +0000 (20:57 +0000)]
2.5: Fixes

* Disable shaded mode for now, it cause too many crashes combined
  with preview render, will be fixed properly later.
* Make 3d view toolbar region a bit wider. Ideally this would not
  be needed, but the sculpt/paint buttons just don't fit otherwise.
* Revert change to icon/text spacing in buttons, it breaks text
  editing and clipping. Will properly fix this later so changing
  the spacing can be done centrally.
* Fix for grease pencil simplify stroke python error. Now button
  is hidden (as in 2.4), but still available through outliner.
* Fix for memory leak in UI code, when using ctrl+Q menu.
* Fix submenu > icon being drawn on some buttons where it was not
  needed.

11 years ago2.5: UI, tweaks to curve mapping template to fit better
Brecht Van Lommel [Mon, 10 Aug 2009 20:48:38 +0000 (20:48 +0000)]
2.5: UI, tweaks to curve mapping template to fit better
in 3d view panel, and resize properly.

11 years ago2.5: Small optimization in color management code to avoid doing
Brecht Van Lommel [Mon, 10 Aug 2009 20:17:11 +0000 (20:17 +0000)]
2.5: Small optimization in color management code to avoid doing
computation with doubles instead of floats, about 2x faster.

11 years agoCopy all the .h so sequencer_add.c does not fail.
Guillermo S. Romero [Mon, 10 Aug 2009 19:51:37 +0000 (19:51 +0000)]
Copy all the .h so sequencer_add.c does not fail.

11 years agoUpdate Makefile for audaspace.
Diego Borghetti [Mon, 10 Aug 2009 19:41:34 +0000 (19:41 +0000)]
Update Makefile for audaspace.

11 years agoStop changing the includes!
Joerg Mueller [Mon, 10 Aug 2009 19:22:50 +0000 (19:22 +0000)]
Stop changing the includes!

11 years agoMSVC project files: add audaspace project, upgrade to Python 3.1
Benoit Bolsee [Mon, 10 Aug 2009 18:36:12 +0000 (18:36 +0000)]
MSVC project files: add audaspace project, upgrade to Python 3.1

11 years agoAdd missing include dir to Makefile
Diego Borghetti [Mon, 10 Aug 2009 18:18:15 +0000 (18:18 +0000)]
Add missing include dir to Makefile

11 years agoRemove hardcoded path in include.
Guillermo S. Romero [Mon, 10 Aug 2009 18:01:19 +0000 (18:01 +0000)]
Remove hardcoded path in include.
IMPORTANT: use compiler include paths to point to the file.

11 years agoSculpt/2.5:
Nicholas Bishop [Mon, 10 Aug 2009 16:52:29 +0000 (16:52 +0000)]
Sculpt/2.5:

* Fixed clay brush to work more like the original patch. It should now correctly limit the depth being added or subtracted.

11 years ago2.5 audio cleanup:
Joerg Mueller [Mon, 10 Aug 2009 15:39:11 +0000 (15:39 +0000)]
2.5 audio cleanup:

* Removed CD Actuator
* Removed bSample and bSoundListener
* Removed SoundSystem
* Removed -noaudio parameter

11 years agomissing include for fluid
Campbell Barton [Mon, 10 Aug 2009 14:15:05 +0000 (14:15 +0000)]
missing include for fluid

11 years agoSmoke:
Daniel Genrich [Mon, 10 Aug 2009 14:09:56 +0000 (14:09 +0000)]
Smoke:
* bugfix for crash when loading smoke files more once on linux/mac
* could also fix occasional explosions
* code cleanup

11 years agopatch from Stukfruit in IRC
Campbell Barton [Mon, 10 Aug 2009 13:21:01 +0000 (13:21 +0000)]
patch from Stukfruit in IRC

11 years agoIK constraint and armature modifier layout tweaks
William Reynish [Mon, 10 Aug 2009 12:17:12 +0000 (12:17 +0000)]
IK constraint and armature modifier layout tweaks

11 years agoadding back button evaluation so you can do 1/60, 90*0.1 etc as well as dimension...
Campbell Barton [Mon, 10 Aug 2009 11:58:53 +0000 (11:58 +0000)]
adding back button evaluation so you can do 1/60, 90*0.1 etc as well as dimension conversion 1km-10cm+4ft

Note...
- Python3.1 you don't need to add the .0 for divisions anymore (was esp annoying for button eval)
- Simple dimension input, imperial mi/yd/ft/in, metric km/m/cm/mm,  Later could display these values and have a pref for scene scale, atm it assumes 1BU == 1m.

11 years agofix for build problem with audiospace and implicit declaration.
Campbell Barton [Mon, 10 Aug 2009 04:50:48 +0000 (04:50 +0000)]
fix for build problem with audiospace and implicit declaration.

11 years agoChange linux makefiles to use system wide python lib.
Guillermo S. Romero [Mon, 10 Aug 2009 02:43:03 +0000 (02:43 +0000)]
Change linux makefiles to use system wide python lib.

11 years agoWrap message with " as the ' was giving issues.
Guillermo S. Romero [Mon, 10 Aug 2009 02:07:34 +0000 (02:07 +0000)]
Wrap message with " as the ' was giving issues.

11 years agoAdd initial support in Makefiles for audaspace.
Guillermo S. Romero [Mon, 10 Aug 2009 01:56:54 +0000 (01:56 +0000)]
Add initial support in Makefiles for audaspace.
Note: removed hardcoded path in include directive. Check other build systems.

11 years agoremove python2.x support
Campbell Barton [Mon, 10 Aug 2009 00:07:34 +0000 (00:07 +0000)]
remove python2.x support

11 years agoAdd missing include paths.
Guillermo S. Romero [Sun, 9 Aug 2009 23:31:16 +0000 (23:31 +0000)]
Add missing include paths.

11 years agoSVN maintenance.
Guillermo S. Romero [Sun, 9 Aug 2009 23:23:19 +0000 (23:23 +0000)]
SVN maintenance.

11 years agofix crash caused by stroke selection
Martin Poirier [Sun, 9 Aug 2009 22:22:40 +0000 (22:22 +0000)]
fix crash caused by stroke selection

11 years ago2.5: Sound branch merge!
Joerg Mueller [Sun, 9 Aug 2009 21:16:39 +0000 (21:16 +0000)]
2.5: Sound branch merge!

See mailing list for additional information.

11 years agoSculpt/2.5:
Nicholas Bishop [Sun, 9 Aug 2009 17:21:40 +0000 (17:21 +0000)]
Sculpt/2.5:

* Added toolbar UI for setting "anchored" mode
* Added a "persistent" mode for the layer brush; basically you can keep sculpting on the same layer between strokes when this is on. There's a button to reset the base so you can add another layer on top of that, and so on.
This feature was suggested by Blenderer on BA, thanks!

Note, I think these options could use better names in the UI, but I couldn't really think of anything very descriptive, suggestions welcome

11 years agosmoke: fix fft not working
Daniel Genrich [Sun, 9 Aug 2009 15:04:31 +0000 (15:04 +0000)]
smoke: fix fft not working

11 years agofftw + smoke: fifxing define (making it work with scons)
Daniel Genrich [Sun, 9 Aug 2009 14:13:33 +0000 (14:13 +0000)]
fftw + smoke: fifxing define (making it work with scons)

11 years ago- fix error in last commit
Campbell Barton [Sun, 9 Aug 2009 13:20:12 +0000 (13:20 +0000)]
- fix error in last commit
- added better error feedback when registering operators fails.
- added some python benchmark timers (prints on exit), times number of times py scripts run, average time and total % of time running py scripts.

11 years agofftw: fixing mac linking name
Daniel Genrich [Sun, 9 Aug 2009 12:52:59 +0000 (12:52 +0000)]
fftw: fixing mac linking name

11 years agoSmoke: little fix to ui
Daniel Genrich [Sun, 9 Aug 2009 12:50:39 +0000 (12:50 +0000)]
Smoke: little fix to ui

11 years agofftw3 scons: hopefully fixing indent error
Daniel Genrich [Sun, 9 Aug 2009 11:02:47 +0000 (11:02 +0000)]
fftw3 scons: hopefully fixing indent error

11 years agoSmoke:
Daniel Genrich [Sun, 9 Aug 2009 10:55:25 +0000 (10:55 +0000)]
Smoke:
* WITH_BF_FFTW3 flag --> fftw3 scons + cmake settings refined.
* Disabled by default since mac + win32 libs missing. Works already on win64 + linux (with installed fftw3 libs)

11 years ago- report errors on rna name collisions (does not check parent type yet)
Campbell Barton [Sun, 9 Aug 2009 10:05:33 +0000 (10:05 +0000)]
- report errors on rna name collisions (does not check parent type yet)
- minor cleanup for Py/C api functions that define rna properties from python.

11 years agopovray integration
Campbell Barton [Sun, 9 Aug 2009 07:09:32 +0000 (07:09 +0000)]
povray integration
- declare materials and reference them later
- support ray-transp filter setting
- blobs pigment wasn't working right

11 years agoSmoke: decoupling of wavelet #2, new noise strength option on gui, fftw3 option in...
Daniel Genrich [Sun, 9 Aug 2009 01:30:32 +0000 (01:30 +0000)]
Smoke: decoupling of wavelet #2, new noise strength option on gui, fftw3 option in place for cmake, scons yet uncommited

11 years agoSmoke: fixing collision objects again (bug introduced in decoupling commit) - thanks...
Daniel Genrich [Sat, 8 Aug 2009 20:41:44 +0000 (20:41 +0000)]
Smoke: fixing collision objects again (bug introduced in decoupling commit) - thanks to nudelZ for reporting

11 years ago2.5 Button Files:
Thomas Dinges [Sat, 8 Aug 2009 17:21:34 +0000 (17:21 +0000)]
2.5 Button Files:

* Cleanup of smoke and texture files to match guidelines.
* Made "Curve" Panel in Toolbar Closed per default.

11 years agoImproved layout of voronoi texture. There was some strange empty space.
William Reynish [Sat, 8 Aug 2009 14:17:55 +0000 (14:17 +0000)]
Improved layout of voronoi texture. There was some strange empty space.

11 years ago2.5 3D View Toolbar:
Thomas Dinges [Fri, 7 Aug 2009 19:16:59 +0000 (19:16 +0000)]
2.5 3D View Toolbar:

Brush Panel:
* Separated the code for different modes, easier to maintain.
* Only settings which are used in the current paint mode are shown now.

11 years agoAdded material game physics options in RNA and layout.
William Reynish [Fri, 7 Aug 2009 19:14:49 +0000 (19:14 +0000)]
Added material game physics options in RNA and layout.

Thanks to the new render API system these options don't clutter up the layout when you're not doing games.

11 years agobpy_context_set and bpy_context_clear to replace a number of functions (some were...
Campbell Barton [Fri, 7 Aug 2009 16:20:19 +0000 (16:20 +0000)]
bpy_context_set and bpy_context_clear to replace a number of functions (some were not always called causing bugs).
fix for a leak when trying to run a text with a syntax error too.

11 years agosmoke:
Daniel Genrich [Fri, 7 Aug 2009 13:19:17 +0000 (13:19 +0000)]
smoke:
- Bugfix: a bit too fast ;-) Better do it right too (problem with res > 150)
- fixing high res view button which disappeared sometimes
- fixing tooltip

11 years ago2.5: 3D View Toolbar:
Thomas Dinges [Fri, 7 Aug 2009 09:45:48 +0000 (09:45 +0000)]
2.5: 3D View Toolbar:

* Added some greying out and hiding for disabled/non available settings.
* Some layout tweaks.
* Added "Flip Direction" for Sculpt, this is the "Add, Sub" Option from 2.49, this time as a boolean. Off = Add, On, Sub.

11 years agofix for crash while appending data. (missing NULL check for newlibadr return value)
Campbell Barton [Fri, 7 Aug 2009 05:25:17 +0000 (05:25 +0000)]
fix for crash while appending data. (missing NULL check for newlibadr return value)

11 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22205:22290
Campbell Barton [Fri, 7 Aug 2009 04:41:15 +0000 (04:41 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22205:22290

11 years agogameObject -> blenderObject mapping was being created but wasnt needed.
Campbell Barton [Fri, 7 Aug 2009 03:51:28 +0000 (03:51 +0000)]
gameObject -> blenderObject mapping was being created but wasnt needed.
Added utility func tag_main for (un)tagging every ID in a Main database with LIB_DOIT.

11 years agoBGE: removing remaining reference to sce->world->gravity/physics/... (it's all in...
Dalai Felinto [Fri, 7 Aug 2009 03:06:32 +0000 (03:06 +0000)]
BGE: removing remaining reference to sce->world->gravity/physics/... (it's all in sce->gm now) + Dome UI changes

UI changes: splitting dome options for different dome modes (eg angle doesn't work for envmap mode)
if anyone wants to tweak that, feel free to do it.

* I put a remaining to bring setEyeSeparation + Focal Length to the Stereo GUI. I'm still not sure what would be the default parameters for that, and that will require other changes (eg remove the flag m_setfocallength and m_seteyesep). For so far only a label remind :)

11 years agoSmoke: test commit of PCG
Daniel Genrich [Fri, 7 Aug 2009 01:07:45 +0000 (01:07 +0000)]
Smoke: test commit of PCG

11 years agoPovray
Campbell Barton [Fri, 7 Aug 2009 01:05:33 +0000 (01:05 +0000)]
Povray
* Sun lamp type export (known as parallel lights in povray)
* Native support for blenders metaballs, currently exports
 - ball and ellipsoid types
 - radius, stiffness
 - ellipsoid xyz scale
 - negative elements
 - single material (like blender)

Renamed rna props.
 elem.sizex -> size_x
 mball.last_selected_element ->  mball.active_element

minor changes to UI scripts.

11 years ago2.5 Mesh Draw Options: [WIP]
Thomas Dinges [Thu, 6 Aug 2009 23:34:14 +0000 (23:34 +0000)]
2.5 Mesh Draw Options: [WIP]

* Added RNA for Mesh Draw Options.
* Added "Draw" Options into the Mesh Data Tab, needs check for Edit Mode.

* Fixed a typo in DNA.

11 years ago- fix for a crash in readfile.c, thanks Roelf for finding.
Campbell Barton [Thu, 6 Aug 2009 23:19:05 +0000 (23:19 +0000)]
- fix for a crash in readfile.c, thanks Roelf for finding.
- add media option for povray
- remove unintentional line from modifier script