blender.git
10 years agoCommenting out code from commit 22457 by Genscher for PointCache.
Joshua Leung [Sat, 15 Aug 2009 00:40:44 +0000 (00:40 +0000)]
Commenting out code from commit 22457 by Genscher for PointCache.

There was some missing code or something causing compiling problems.

10 years agoCTX_wm_reports needs to return NULL when wm.manager is NULL (this happens in backgrou...
Martin Poirier [Fri, 14 Aug 2009 18:18:19 +0000 (18:18 +0000)]
CTX_wm_reports needs to return NULL when wm.manager is NULL (this happens in background mode).

This fixes a segfault on quit in background mode. Now it reports unfreed datablocks, someone should fix that.

10 years agoPointcache:
Daniel Genrich [Fri, 14 Aug 2009 17:39:27 +0000 (17:39 +0000)]
Pointcache:
* prepare pointcache for smoke (smoke doesn't use it yet, commit follows later)

10 years agocmake changes
Campbell Barton [Fri, 14 Aug 2009 17:16:16 +0000 (17:16 +0000)]
cmake changes
- set python to 3.1 on linux (dont use FindPackage for now)
- remove duplicate settings (disable cache for copied settings, was quite confusing)
- added an option WITH_INSTALL, when disabled scripts and language files wont be copied to the target dir (better for quick builds)
- remove .svn (was still CVS), and pyc/pyc files after copy
- copy the 'io' as well as 'ui'

10 years agoProper copy code for multiple point caches.
Janne Karhu [Fri, 14 Aug 2009 16:25:59 +0000 (16:25 +0000)]
Proper copy code for multiple point caches.

10 years ago2.5/Paint modes:
Nicholas Bishop [Fri, 14 Aug 2009 15:47:32 +0000 (15:47 +0000)]
2.5/Paint modes:

* Fixed one of the items from Brecht's TODO mail. Exiting edit mode now restores any paint mode you might have been in, rather than going to object mode.

10 years agosome fixes for netbsd with cmake
Campbell Barton [Fri, 14 Aug 2009 13:13:36 +0000 (13:13 +0000)]
some fixes for netbsd with cmake
- CMake, use FIND_PACKAGE(Freetype) for unix/linux
- Only link with libdl.so on linux
- use statvfs rather then statfs for netbsd (size of statfs wasnt available)
- add x11 include path with ghost, glu.

10 years ago- registering new python classes runs the free functions on existing classes.
Campbell Barton [Fri, 14 Aug 2009 12:29:55 +0000 (12:29 +0000)]
- registering new python classes runs the free functions on existing classes.
- print an error if RNA Structs are freed with a python pointer set to help with debugging leaks.
- fix for unlikely eternal loop in unit conversion.

10 years ago2.5 - Assorted Animation UI Tweaks
Joshua Leung [Fri, 14 Aug 2009 11:09:19 +0000 (11:09 +0000)]
2.5 - Assorted Animation UI Tweaks

* Fixed padding for Graph Editor visibility toggles
* Reverted many of the tweaks to Timeline UI for now (for the reasons outlined in earlier mail)
* NLA Editor now (mostly) uses the new channel-drawing API

10 years ago2.5/Paint modes:
Nicholas Bishop [Fri, 14 Aug 2009 04:45:29 +0000 (04:45 +0000)]
2.5/Paint modes:

* Moved brush curve preset operator out of sculpt to paint_utils
* Added a button to the curve panel to set the preset

10 years ago2.5/Multires:
Nicholas Bishop [Fri, 14 Aug 2009 01:48:05 +0000 (01:48 +0000)]
2.5/Multires:

Bugfixes

* Don't allow multires subdivision in editmode, this leads to corruption as noted by nudelZ. Reason is that editmode has its own copy of the MDisps customdata layer, gets written back out on exiting editmode, but the layer that was subdivided was the non-editmode original.
* Missed clearing a couple variables, caught with valgrind.

10 years agoClean some whitespace.
Guillermo S. Romero [Fri, 14 Aug 2009 00:32:29 +0000 (00:32 +0000)]
Clean some whitespace.

10 years agoChanged to able compile libsamplerate properly
Joilnen Leite [Fri, 14 Aug 2009 00:14:20 +0000 (00:14 +0000)]
Changed to able compile libsamplerate properly

10 years ago2.5 Timeline:
Thomas Dinges [Thu, 13 Aug 2009 22:10:50 +0000 (22:10 +0000)]
2.5 Timeline:

* Added some menus and buttons. Still uncommented.

10 years agoSmoke: bugfix - tray, not tvox
Daniel Genrich [Thu, 13 Aug 2009 21:30:48 +0000 (21:30 +0000)]
Smoke: bugfix - tray, not tvox

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

10 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

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

10 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

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

10 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

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

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

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

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

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

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

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