blender.git
10 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

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

10 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

10 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.

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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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!

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

10 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.

10 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

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

Bad commenting in header file.

10 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.

10 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.

10 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

10 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

10 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.

10 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

10 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

10 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???

10 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.

10 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

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

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

10 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"

10 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

10 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);

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

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

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

10 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

10 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

10 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.

10 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.

10 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

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

10 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

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

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

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

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

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

10 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

10 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.

10 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

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

10 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)

10 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.

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

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

10 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

10 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)

10 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.

10 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

10 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

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

10 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.

10 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)

10 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

10 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.

10 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 :)

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

10 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.

10 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.

10 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

10 years agoSmoke: another 10-20% speed gain due to CG (conjugate gradient) improvements
Daniel Genrich [Thu, 6 Aug 2009 22:28:55 +0000 (22:28 +0000)]
Smoke: another 10-20% speed gain due to CG (conjugate gradient) improvements

10 years ago[#19206] Fix MD2 Vertex Normal Export
Campbell Barton [Thu, 6 Aug 2009 22:24:14 +0000 (22:24 +0000)]
[#19206] Fix MD2 Vertex Normal Export
from Calvin Loncaric (marvinx03)

[#18965] Blender Load and Run need fully qualified specs
[#18966] getMaterials not used
from Roger Wickes (roger)

10 years ago[#19035] New Python command to set the active flag of Armature Bones
Campbell Barton [Thu, 6 Aug 2009 22:11:33 +0000 (22:11 +0000)]
[#19035] New Python command to set the active flag of Armature Bones
from Ivo Grigull (loolarge)

Removed redraw calls from the python function, added epydocs.

10 years agoosx scons/ffmpeg tweaks
Matt Ebb [Thu, 6 Aug 2009 22:06:11 +0000 (22:06 +0000)]
osx scons/ffmpeg tweaks

* options to enable building with precompiled ffmpeg (in /lib) rather than building from source in extern - this is off by default since I haven't compiled ffmpeg for ppc yet

* tweaks to enable building ffmpeg on osx better out of the box (still need to install yasm with these options on though..)

10 years agoCleanup a little to add "draw to buffer" (and bring back stamp).
Diego Borghetti [Thu, 6 Aug 2009 20:51:41 +0000 (20:51 +0000)]
Cleanup a little to add "draw to buffer" (and bring back stamp).

10 years agoRemove bitmap mode from blenfont, only draw with textures.
Diego Borghetti [Thu, 6 Aug 2009 20:06:02 +0000 (20:06 +0000)]
Remove bitmap mode from blenfont, only draw with textures.

As Joe point on a previous mail, glBitmap don't work nice
on all cards and also some of the things that we can do
with texture are hard (or need that blender check the font mode)
to implement.

10 years ago-Use getattr() now for constraints too. :)
Thomas Dinges [Thu, 6 Aug 2009 18:31:25 +0000 (18:31 +0000)]
-Use getattr() now for constraints too. :)
-Deleted old Buttons C code for RIGIDBODYJOINT constraint.
-"Realtime" Icon for Modifer was different in Template and RNA, i changed the Icon in RNA to match the template version, which is an eye instead of a cube.

10 years agoSmoke: forgot ui redraw event
Daniel Genrich [Thu, 6 Aug 2009 17:00:37 +0000 (17:00 +0000)]
Smoke: forgot ui redraw event

10 years agosmoke: decoupling high-res, introducing reset for heat+gravity, fixing another obstac...
Daniel Genrich [Thu, 6 Aug 2009 16:50:02 +0000 (16:50 +0000)]
smoke: decoupling high-res, introducing reset for heat+gravity, fixing another obstacle problem

10 years agosmoke gui: refining the new simulation panel ui
Daniel Genrich [Thu, 6 Aug 2009 15:55:42 +0000 (15:55 +0000)]
smoke gui: refining the new simulation panel ui
(thanks to nudelZ for this patch)

10 years ago2.5 Smoke:
Thomas Dinges [Thu, 6 Aug 2009 14:23:48 +0000 (14:23 +0000)]
2.5 Smoke:

Moved the Smoke Buttons into the Physic Tab.

10 years agooutput the origin for each map node.
Campbell Barton [Thu, 6 Aug 2009 13:30:23 +0000 (13:30 +0000)]
output the origin for each map node.
thanks to j michaelson for the patch