blender-staging.git
9 years agoMerged changes in the trunk up to revision 30952.
Tamito Kajiyama [Sun, 1 Aug 2010 23:37:52 +0000 (23:37 +0000)]
Merged changes in the trunk up to revision 30952.

9 years agopatch [#23144] bpy.Image.gl_load() -- fix
Campbell Barton [Sun, 1 Aug 2010 22:20:45 +0000 (22:20 +0000)]
patch [#23144] bpy.Image.gl_load() -- fix
from Dan Eicher (dna)
- image.gl_load() was using GL_UNSIGNED_INT rather then GL_UNSIGNED_BYTE channel type.
- changed image.gl_load() to use the image clamp settings (patch had this as an extra argument).

9 years agoImplemented "Distance from Object" color/alpha/thickness modifiers
Tamito Kajiyama [Sun, 1 Aug 2010 22:11:57 +0000 (22:11 +0000)]
Implemented "Distance from Object" color/alpha/thickness modifiers
in the new Parameter Editor mode.

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 1 Aug 2010 21:29:50 +0000 (21:29 +0000)]
SVN maintenance.

9 years agoFix preview render crash after recent G.main changes.
Brecht Van Lommel [Sun, 1 Aug 2010 20:36:24 +0000 (20:36 +0000)]
Fix preview render crash after recent G.main changes.

9 years agoFix for the fix.
Thomas Dinges [Sun, 1 Aug 2010 16:38:30 +0000 (16:38 +0000)]
Fix for the fix.

9 years agoCompile fix for recent changes. Function needed 1 more argument.
Thomas Dinges [Sun, 1 Aug 2010 16:35:27 +0000 (16:35 +0000)]
Compile fix for recent changes. Function needed 1 more argument.
Chingiz can you please check?

9 years agoOSX/Cocoa : fix the Cmd modifier stuck after cancelling the quit dialog
Damien Plisson [Sun, 1 Aug 2010 16:25:00 +0000 (16:25 +0000)]
OSX/Cocoa : fix the Cmd modifier stuck after cancelling the quit dialog

9 years agoImplemented "Distance from Camera" color/alpha/thickness modifier in
Tamito Kajiyama [Sun, 1 Aug 2010 16:02:34 +0000 (16:02 +0000)]
Implemented "Distance from Camera" color/alpha/thickness modifier in
the new Parameter Editor mode.  Refactored shader class definitions
and the way of iteration over stroke vertices.

9 years agobugfix [#23134] uv project modifier not working.
Campbell Barton [Sun, 1 Aug 2010 15:42:22 +0000 (15:42 +0000)]
bugfix [#23134] uv project modifier not working.
own recent commit introduced this bug. would like to have this working correctly but for now commenting.

9 years agoset blender binary name for python
Campbell Barton [Sun, 1 Aug 2010 15:15:57 +0000 (15:15 +0000)]
set blender binary name for python

9 years agoSmoke:
Daniel Genrich [Sun, 1 Aug 2010 15:00:53 +0000 (15:00 +0000)]
Smoke:
- Bugfix for not cleared smoke sim when doing alt-a and waiting for 2 sim cycles to complete

9 years ago- new __main__ module wasnt de-referenced after adding into sys.modules
Campbell Barton [Sun, 1 Aug 2010 14:23:06 +0000 (14:23 +0000)]
- new __main__ module wasnt de-referenced after adding into sys.modules
- made int buttons round floats better 10.6 --> 11

9 years agoFix for crash due to last commit.
Brecht Van Lommel [Sun, 1 Aug 2010 14:08:33 +0000 (14:08 +0000)]
Fix for crash due to last commit.

9 years agobugfix [#23129] alt-p in the texteditor doesn't work anymore
Campbell Barton [Sun, 1 Aug 2010 13:57:04 +0000 (13:57 +0000)]
bugfix [#23129] alt-p in the texteditor doesn't work anymore
recent commit cleared the __main__ namespace once a script finished which meant classes defined there would loose their namespace.
now inset a new __main__ module into sys.modules for every script that runs, any classes that are registered will hold a reference to that modules namespace.

9 years ago2.5: more G.main changes.
Brecht Van Lommel [Sun, 1 Aug 2010 12:57:01 +0000 (12:57 +0000)]
2.5: more G.main changes.

9 years ago2.5: code changes to reduce the usage of G.main and pass it along
Brecht Van Lommel [Sun, 1 Aug 2010 12:47:49 +0000 (12:47 +0000)]
2.5: code changes to reduce the usage of G.main and pass it along
or get it from the context instead.

9 years agoSmoke:
Daniel Genrich [Sun, 1 Aug 2010 12:16:32 +0000 (12:16 +0000)]
Smoke:
- Bugfix for display problems in shaded view: Reverting to wire display mode for domain.

9 years agomistake in recent commit allowd bpy.types.Scene() which would then crash blender...
Campbell Barton [Sun, 1 Aug 2010 11:20:51 +0000 (11:20 +0000)]
mistake in recent commit allowd bpy.types.Scene() which would then crash blender (thanks for spotting Luca).

9 years agobugfix's
Campbell Barton [Sun, 1 Aug 2010 11:00:36 +0000 (11:00 +0000)]
bugfix's
  [#23108] bpy.ops.object.origin_set(type='GEOMETRY_ORIGIN') dosen't work in console
  [#23115] Crash when moving armature origin

- setting the armature in editmode would leave editdata in some cases.
- transforming selected linked objects to account for the movement of the obdata was only done for meshes, now do for curves and text3d.
- added utility functions for getting curve & mesh bounds.
- text3d moving center wasn't working at all.
- changed drawobject.c to use BLI_math funcs in more places.
- remove some unused code from operator object.origin_set.

9 years agofix for un-initialized layer (only bits between 1 and 20 were initialized)
Campbell Barton [Sun, 1 Aug 2010 10:36:02 +0000 (10:36 +0000)]
fix for un-initialized layer (only bits between 1 and 20 were initialized)

9 years ago- font object x/yoffset was making text box's wrap text incorrectly.
Campbell Barton [Sun, 1 Aug 2010 09:56:00 +0000 (09:56 +0000)]
- font object x/yoffset was making text box's wrap text incorrectly.
- draw text boxes with the offset applied.
(abologies for making font.c even more confusing)

9 years agoSeparate proportional edit setting between edit and object mode. They are now used...
Martin Poirier [Sat, 31 Jul 2010 19:26:21 +0000 (19:26 +0000)]
Separate proportional edit setting between edit and object mode. They are now used and toggled independently.

9 years agonetrender: fix reload
Martin Poirier [Sat, 31 Jul 2010 19:23:22 +0000 (19:23 +0000)]
netrender: fix reload

Note: this is tested and work with metaclass registering. If it doesn't work with registering lists (as currently in svn), I can still commit the metaclass method...

9 years ago== rigify ==
Luca Bonavita [Sat, 31 Jul 2010 18:06:55 +0000 (18:06 +0000)]
== rigify ==

- small fix, doing F8 complains during the unregister phase

- hey Campbell, also netrender complains during F8, prints lots of
  "AttributeError: 'Scene' object has no attribute 'network_render'"
  I tried to track this down with no luck, bpy.types.Scene doesn't seem
  to have a network_render method anymore? I'll investigate later if it
  won't be fixed already :)

9 years agouse more BLI math funcs (no functional changes)
Campbell Barton [Sat, 31 Jul 2010 10:58:10 +0000 (10:58 +0000)]
use more BLI math funcs (no functional changes)

9 years agorecent commit to make color balance work like the sequencer, I forgot that the gamma...
Campbell Barton [Sat, 31 Jul 2010 10:03:08 +0000 (10:03 +0000)]
recent commit to make color balance work like the sequencer, I forgot that the gamma was inverted. fixed.

9 years ago- add back prefix for ID lists (LF) for linked and fake user for search fields.
Campbell Barton [Sat, 31 Jul 2010 01:06:08 +0000 (01:06 +0000)]
- add back prefix for ID lists (LF) for linked and fake user for search fields.
- remove debug print for left/right name flipping & commented test from the sequencer.

9 years agoChange compositor color balance to match the sequencer exactly, for this to work...
Campbell Barton [Fri, 30 Jul 2010 23:32:49 +0000 (23:32 +0000)]
Change compositor color balance to match the sequencer exactly, for this to work linear/srgb conversions need to be done which that nice since it has to convert from/to the color spaces each time, after quite a lot of testing I think its the best way to go.

The problem was that typical lift values  (0.5 - 1.5, in our case ) would over saturate shadows so that even minor adjustments would give unusable results.
tweaking the input lift to compensate for this helped with the shadows but would loose the color adjustments for the mid-tones.

9 years agopatch [#23110] isolate render type UI labelling + operator to clear all hide render...
Nathan Letwory [Fri, 30 Jul 2010 23:25:26 +0000 (23:25 +0000)]
patch [#23110] isolate render type UI labelling + operator to clear all hide render flags in scene by Peter Schulman

9 years agoProperties Window:
Thomas Dinges [Fri, 30 Jul 2010 16:15:56 +0000 (16:15 +0000)]
Properties Window:
* Deleted space_buttons.py file as I doubt that these buttons will be done in python. File was not used anyway.
* Deleted some ifdef checks from space_buttons.c for the py header.

9 years agoLogic Editor:
Thomas Dinges [Fri, 30 Jul 2010 15:44:26 +0000 (15:44 +0000)]
Logic Editor:
*Removed the old header menu code, replacing with Python menus.

9 years agoUi Scripts:
Thomas Dinges [Fri, 30 Jul 2010 14:56:17 +0000 (14:56 +0000)]
Ui Scripts:
* Made a "View" Menu in the Text Editor, these settings don't belong into a "Text" Menu.
* Added "Properties" Operator into the VSE "View" menu.

9 years agoFix #23086: crash reading 1bit tiff files.
Brecht Van Lommel [Fri, 30 Jul 2010 13:31:22 +0000 (13:31 +0000)]
Fix #23086: crash reading 1bit tiff files.

9 years agobugfix [#23105] Scene strips renders out darker (no gamma corection?)
Campbell Barton [Fri, 30 Jul 2010 11:55:41 +0000 (11:55 +0000)]
bugfix [#23105] Scene strips renders out darker (no gamma corection?)

9 years ago2.5: remove vertex normal flip option, this is more harmful than helpful
Brecht Van Lommel [Fri, 30 Jul 2010 11:50:00 +0000 (11:50 +0000)]
2.5: remove vertex normal flip option, this is more harmful than helpful
in many cases, and also gave incorrect rim lighting.

9 years agobugfix [#23106] Blender crashes (segfault) when scene strip file is missing
Campbell Barton [Fri, 30 Jul 2010 11:40:23 +0000 (11:40 +0000)]
bugfix [#23106] Blender crashes (segfault) when scene strip file is missing

9 years agobugfix [#23104] Crash when console: <SpaceView3D object>.local_view. autocomplete
Campbell Barton [Fri, 30 Jul 2010 11:19:41 +0000 (11:19 +0000)]
bugfix [#23104] Crash when console: <SpaceView3D object>.local_view. autocomplete

9 years agoFix #23103:
Brecht Van Lommel [Fri, 30 Jul 2010 10:44:00 +0000 (10:44 +0000)]
Fix #23103:
* missing glsl update when changing color management setting
* disable glsl lamps only when disabling them for render

9 years agoRevert [#23093] Curve -> CurveMapping in brush. Don't use camel case for
Brecht Van Lommel [Fri, 30 Jul 2010 09:32:21 +0000 (09:32 +0000)]
Revert [#23093] Curve -> CurveMapping in brush. Don't use camel case for
UI text, and this makes it inconsistent with the property name too, Curve
is just fine...

9 years agobugfix [#20038] Vertex path selection not working in Vertex/Face mode
Campbell Barton [Fri, 30 Jul 2010 08:43:22 +0000 (08:43 +0000)]
bugfix [#20038] Vertex path selection not working in Vertex/Face mode
- disable this tool if edge mode isnt enabled using its poll function. Also fixed a bug where it would de-select the last active edge.
- made view3d grid drawing use GL_LINES's for less context switching.

9 years agobugfix [#22660] Text Boxes properties are not animateable.
Campbell Barton [Fri, 30 Jul 2010 06:48:18 +0000 (06:48 +0000)]
bugfix [#22660] Text Boxes properties are not animateable.
suggestion [#23093] Curve -> CurveMapping in brush...

9 years agobugfix [#22859] Multi-user images cant be made into single user in texure panel.
Campbell Barton [Fri, 30 Jul 2010 06:09:23 +0000 (06:09 +0000)]
bugfix [#22859] Multi-user images cant be made into single user in texure panel.
turns out this isnt exactly a bug since support was never written for this but may as well support it.
now rna/py can do image.copy() too.

9 years agoFixing a typo in the BGE Python API:
Mitchell Stokes [Fri, 30 Jul 2010 04:57:27 +0000 (04:57 +0000)]
Fixing a typo in the BGE Python API:
  BL_ArmatureChannel.rotaion_euler -> BL_ArmatureChannel.rotation_euler

Making the docs match the code:
  BL_ArmatureChannel.rotation -> BL_ArmatureChannel.rotation_quaternion
  BL_ArmatureChannel.euler_rotation -> BL_ArmatureChannel.rotation_euler

9 years ago3 duplicate functions: bone_flip_name() object_flip_name() flip_side_name()
Campbell Barton [Fri, 30 Jul 2010 01:13:07 +0000 (01:13 +0000)]
3 duplicate functions: bone_flip_name() object_flip_name() flip_side_name()
removed object_flip_name() & bone_flip_name(), use flip_side_name()

9 years agopatch [#23060] ColorRamp python access functions
Campbell Barton [Fri, 30 Jul 2010 00:20:05 +0000 (00:20 +0000)]
patch [#23060] ColorRamp python access functions
from Dan Eicher (dna)
 elem = color_ramp.elements.new(position=0.3)
 color_ramp.elements.remove(elem)

- Modified the patch to make generic functions for adding and removing (inline code was in 3 different places)

9 years agoPreview commit in sculpt brushes broke resetting curves in other areas (rgb curves...
Matt Ebb [Fri, 30 Jul 2010 00:06:59 +0000 (00:06 +0000)]
Preview commit in sculpt brushes broke resetting curves in other areas (rgb curves etc).

Fixed by adding a 'slope' parameter to curvemap_reset() to mirror curve presets around Y axis.

Also removed curve preset with 'random' icon, wasn't doing what it looked like it should,
this was intended only for hue correct node anyway.

9 years agopatch [#23088] 2.5 Text Editor: Preserve indentation with spaces
Campbell Barton [Thu, 29 Jul 2010 22:34:46 +0000 (22:34 +0000)]
patch [#23088] 2.5 Text Editor: Preserve indentation with spaces
from Fabian Fricke (frigi)

9 years agoFix make/darwin build, was not updated for moved bin/ directory.
Brecht Van Lommel [Thu, 29 Jul 2010 13:04:20 +0000 (13:04 +0000)]
Fix make/darwin build, was not updated for moved bin/ directory.

9 years agoFix for error while weight painting:
Campbell Barton [Thu, 29 Jul 2010 12:16:15 +0000 (12:16 +0000)]
Fix for error while weight painting:
 RNA_boolean_get: OperatorStrokeElement.flip not found.

flip was renamed to pen_flip but not updated everywhere.

9 years agobugfix [#21093] Alt-arrowkey 'Swap Strips' confused
Campbell Barton [Thu, 29 Jul 2010 11:47:00 +0000 (11:47 +0000)]
bugfix [#21093] Alt-arrowkey 'Swap Strips' confused

9 years agoFix #23073: glsl and 3d view background color didn't take color managment into
Brecht Van Lommel [Thu, 29 Jul 2010 10:09:20 +0000 (10:09 +0000)]
Fix #23073: glsl and 3d view background color didn't take color managment into
account yet, should now be consistent with render.

9 years agoFix weird colours in areas of high transmission when camera inside a volume.
Matt Ebb [Thu, 29 Jul 2010 07:22:43 +0000 (07:22 +0000)]
Fix weird colours in areas of high transmission when camera inside a volume.

9 years agoAdded back modal keymap items for view manipulation mode switching in
Matt Ebb [Thu, 29 Jul 2010 07:21:57 +0000 (07:21 +0000)]
Added back modal keymap items for view manipulation mode switching in
zoom/pan, so they can be added in customisation. Not sure why these were removed.

9 years ago== Sculpt ==
Nicholas Bishop [Thu, 29 Jul 2010 05:16:42 +0000 (05:16 +0000)]
== Sculpt ==

* Changed rotation brush to not scale down the rotation angle; easier to control this way (and works the same as anchored brush rotation.)

Note: rotate brush seems to work much better with USE_ORIGINAL_NORMAL, this should probably be made the default, if not forced on.

9 years agoFixed some potential memory corruption
Nicholas Bishop [Thu, 29 Jul 2010 02:29:32 +0000 (02:29 +0000)]
Fixed some potential memory corruption

9 years agobugfix [#23062] Resolve conflict button in text editor dissappers in Blener 2.5 beta...
Campbell Barton [Thu, 29 Jul 2010 00:44:53 +0000 (00:44 +0000)]
bugfix [#23062] Resolve conflict button in text editor dissappers in Blener 2.5 beta release
also uncommented console some code for testing by mistake & remove warning.

9 years agobugfix [#23075] Point clouds invisible with VBOs
Campbell Barton [Thu, 29 Jul 2010 00:06:22 +0000 (00:06 +0000)]
bugfix [#23075] Point clouds invisible with VBOs

9 years agominor changes to r30843
Campbell Barton [Wed, 28 Jul 2010 23:24:17 +0000 (23:24 +0000)]
minor changes to r30843
- the __main__ modules namespace was initialized cleanly but left dirty, now restore when finished executing a script incase a module uses this later.
- made the interactive console use the __main__ modules namespace.

9 years ago* for win64 fftw3 support is already enabled by default, doing so also for win32.
Nathan Letwory [Wed, 28 Jul 2010 17:08:24 +0000 (17:08 +0000)]
* for win64 fftw3 support is already enabled by default, doing so also for win32.

9 years agoFix #23071: making vertex parent not correct with subsurf modifier, now it
Brecht Van Lommel [Wed, 28 Jul 2010 16:47:12 +0000 (16:47 +0000)]
Fix #23071: making vertex parent not correct with subsurf modifier, now it
also uses the final derivedmesh for the coordinates in edit mode.

9 years agobugfix [#23065] Pickle can not dump instances of user defined classes
Campbell Barton [Wed, 28 Jul 2010 16:26:42 +0000 (16:26 +0000)]
bugfix [#23065] Pickle can not dump instances of user defined classes
- __import__("__main__").__dict__ will now always match the current scripts namespace. (which is what pickle expects).
- __builtins__ as a module rather then a dict from PyEval_GetBuiltins() acts slightly differently, use the module to follow python.

9 years agoFix #22959: uv selection mode was not initialized correctly for new scenes.
Brecht Van Lommel [Wed, 28 Jul 2010 13:19:02 +0000 (13:19 +0000)]
Fix #22959: uv selection mode was not initialized correctly for new scenes.

9 years agoFix #22996: switching scenes did not exit editmode, meaning changes
Brecht Van Lommel [Wed, 28 Jul 2010 13:15:29 +0000 (13:15 +0000)]
Fix #22996: switching scenes did not exit editmode, meaning changes
made were not visible in the other scene in object mode.

9 years agofix for running rna subclasses own __init__ functions.
Campbell Barton [Wed, 28 Jul 2010 12:11:40 +0000 (12:11 +0000)]
fix for running rna subclasses own __init__ functions.
- exceptions in the __init__ functions were not being checked for and segfaulting
- avoid creating a new BPy_StructRNA instance per function call, use the existing one if the type matches.

9 years agoFix #22964: incorrect derivatives for global texture coordinates, showed up as
Brecht Van Lommel [Wed, 28 Jul 2010 11:10:56 +0000 (11:10 +0000)]
Fix #22964: incorrect derivatives for global texture coordinates, showed up as
artifacts in bump mapping.

9 years agoAssorted small volume render related fixes.
Matt Ebb [Wed, 28 Jul 2010 08:06:46 +0000 (08:06 +0000)]
Assorted small volume render related fixes.

9 years agoFix [#22197] empty XYZ text size changing according to distance from origin
Matt Ebb [Wed, 28 Jul 2010 08:05:39 +0000 (08:05 +0000)]
Fix [#22197] empty XYZ text size changing according to distance from origin

Partial revert for commit r 27946

Empty/axis xyz text is now purely aligned to object space. Previous 3d view matrix manipulation
stuff that I added wasn't correct, and causing more problems than it solved. Perhaps someone
can tweak this later to be fixed size/screen aligned, but for now this is less annoying.

9 years agosequencer ui
Campbell Barton [Wed, 28 Jul 2010 07:52:05 +0000 (07:52 +0000)]
sequencer ui
- opacity seq button was messed up.
- only show opengl preview option in preview window.

9 years agofix for un-initialized memory use with thumb's & minor internal improvement for bpy...
Campbell Barton [Wed, 28 Jul 2010 07:37:24 +0000 (07:37 +0000)]
fix for un-initialized memory use with thumb's & minor internal improvement for bpy.utils.clean_name()

9 years ago* moved Threaded Sculpt, Fast Navigate, and Show Brush back to Sculpt Options panel...
Jason Wilkins [Wed, 28 Jul 2010 07:19:54 +0000 (07:19 +0000)]
* moved Threaded Sculpt, Fast Navigate, and Show Brush back to Sculpt Options panel until they are properly moved in memory to the corresponding places they were in the UI.

Fast Navigate apparently needs to be made an option of the multires modifier

Threaded Sculpt and Show Brush need to be made UserPrefs

Some of these options were removed form UserPref panel without placing them anywhere else in the interface so this commit at least puts them somewhere so they can be used.

9 years agobugfix [#23053] Blender crashes when adding image as a strip
Campbell Barton [Wed, 28 Jul 2010 07:00:40 +0000 (07:00 +0000)]
bugfix [#23053] Blender crashes when adding image as a strip
buffer overrun when copying image name.

9 years agobugfix [#23055] transforms with proportional fall off affect hidden vertices in certa...
Campbell Barton [Wed, 28 Jul 2010 05:47:46 +0000 (05:47 +0000)]
bugfix [#23055] transforms with proportional fall off affect hidden vertices in certain situations
faces were not being checked if they were hidden before adding their internal edges for connected proportional editing.

9 years agoMerged changes in the trunk up to revision 30814.
Tamito Kajiyama [Wed, 28 Jul 2010 01:06:47 +0000 (01:06 +0000)]
Merged changes in the trunk up to revision 30814.

This commit includes r30807, which is equivalent to r30602 in the branch
for fixiing a layout issue.

9 years ago* Made the Parameter Editor mode much more functional. Edge selection
Tamito Kajiyama [Wed, 28 Jul 2010 00:43:45 +0000 (00:43 +0000)]
* Made the Parameter Editor mode much more functional.  Edge selection
criteria, as well as the color/alpha/thickness Along Stroke modifiers
now work.

* Added more curve blend types.  The default is set to "MIX".

9 years agobugfix [#23052] New Bracket Highlighting Patch Causes Seg Fault [Patch to fix attached]
Campbell Barton [Tue, 27 Jul 2010 19:22:23 +0000 (19:22 +0000)]
bugfix [#23052] New Bracket Highlighting Patch Causes Seg Fault [Patch to fix attached]
by Justin Dailey (dail) for bracket highlight patch from yesterday.

9 years agoSmoke:
Daniel Genrich [Tue, 27 Jul 2010 16:18:12 +0000 (16:18 +0000)]
Smoke:
- Bugfix for using uninitalised velocity in case of PART_PHYS_NO (reported by MiikaH)

9 years ago== Sculpt ==
Nicholas Bishop [Tue, 27 Jul 2010 16:09:02 +0000 (16:09 +0000)]
== Sculpt ==

Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings

* New brush.reset operator, resets a brush based on the currently-selected tool
* Added UI button in the tools panel

TODO:
* Only resets sculpt brushes right now, other paint modes should be added
* Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too

9 years agoSmoke:
Daniel Genrich [Tue, 27 Jul 2010 15:33:21 +0000 (15:33 +0000)]
Smoke:
- Fix typo in tooltip
- Add timeframe independand timesteps

9 years agoFluid: Fix empty named fluid particle system; Smoke: Fix typo
Daniel Genrich [Tue, 27 Jul 2010 15:04:50 +0000 (15:04 +0000)]
Fluid: Fix empty named fluid particle system; Smoke: Fix typo

9 years agoSmoke Patch + additions: a) Applying patch #22765 by Miika Hämäläinen (domain border...
Daniel Genrich [Tue, 27 Jul 2010 14:53:20 +0000 (14:53 +0000)]
Smoke Patch + additions: a) Applying patch #22765 by Miika Hämäläinen (domain border collision settings, vorticity settings, time scale, non absolute density, smooth high res emitter, initial velocity multiplier, high res strength available to be set to 0), b) Additions by me: --Initial velocity is now per flow object, not per domain; --Using boundingbox as standard display mode for domains (was wire before); --When adding a flow object, an initial nice SmokeParticle system is added too with nice initial settings (life=1, no_render, unborn, etc) fitting smoke simulation; --Adaptive timesteps introduced to the smoke sim (depending on the magnitude of the velocity) because it was quite unstable when used for fire simulations, still needs to be tested and will also slow down some simulations.

9 years agoFix #22875: image browser crashes on true colour jpg. The skip_input_data
Brecht Van Lommel [Tue, 27 Jul 2010 14:40:48 +0000 (14:40 +0000)]
Fix #22875: image browser crashes on true colour jpg. The skip_input_data
callback was not correct, modified now to based on jpeg_mem_src as included
with libjpeg.

9 years agoFix #22950: width of a layout object does not propagate to its sub-layout
Brecht Van Lommel [Tue, 27 Jul 2010 12:11:25 +0000 (12:11 +0000)]
Fix #22950: width of a layout object does not propagate to its sub-layout
objects (row, column, box, etc.). Patch by Tamito Kajiyama, thanks!

9 years agoFix #22673: crash with solidify + subsurf + array modifier in edit mode.
Brecht Van Lommel [Tue, 27 Jul 2010 12:01:40 +0000 (12:01 +0000)]
Fix #22673: crash with solidify + subsurf + array modifier in edit mode.

9 years agoFix #22986: glsl didn't take object hiding into account yet for lamps.
Brecht Van Lommel [Tue, 27 Jul 2010 11:10:34 +0000 (11:10 +0000)]
Fix #22986: glsl didn't take object hiding into account yet for lamps.

9 years agoGame engine was not updated yet to disable vertex/normal state on exit as
Brecht Van Lommel [Tue, 27 Jul 2010 11:07:34 +0000 (11:07 +0000)]
Game engine was not updated yet to disable vertex/normal state on exit as
other parts of Blender expect, might have caused issues with VBO's in some
cases.

9 years agoFix part of bug #23042: unnecessary texture preview re-render on changing
Brecht Van Lommel [Tue, 27 Jul 2010 10:31:22 +0000 (10:31 +0000)]
Fix part of bug #23042: unnecessary texture preview re-render on changing
brush properties.

9 years agoFix #23044: sculpted mesh not updated in object mode with VBO's enabled.
Brecht Van Lommel [Tue, 27 Jul 2010 10:27:08 +0000 (10:27 +0000)]
Fix #23044: sculpted mesh not updated in object mode with VBO's enabled.

9 years agoFix #23014: 3d view pivot point default was bounding box instead of
Brecht Van Lommel [Tue, 27 Jul 2010 10:06:43 +0000 (10:06 +0000)]
Fix #23014: 3d view pivot point default was bounding box instead of
median point as in 2.4x.

9 years agobugfix [#23046] export obj "selection only" issue
Campbell Barton [Tue, 27 Jul 2010 10:00:34 +0000 (10:00 +0000)]
bugfix [#23046] export obj "selection only" issue

9 years agoBugfix #23000: AnimData on Meshes not saved (and loaded)
Joshua Leung [Tue, 27 Jul 2010 06:06:36 +0000 (06:06 +0000)]
Bugfix #23000: AnimData on Meshes not saved (and loaded)

* Animation data for meshes wasn't getting saved at all (the linked actions were, but that doesn't really count)
* Lib-linked actions from other files may not load correctly too

9 years agoDammit to whoever removed the X-Ray button AGAIN from the armature buttons. I remembe...
Joshua Leung [Tue, 27 Jul 2010 05:53:29 +0000 (05:53 +0000)]
Dammit to whoever removed the X-Ray button AGAIN from the armature buttons. I remember specifically restoring this a few months ago, but it seems to have gone missing again.

Despite the overlap with Object draw settings, this is a one-off setting that you'll end up turning on/off quickly while working with armatures and is also more conveniently set while chosing armature drawtypes (than jumping back to object buttons).

Grr...!

9 years agobugfix [#21754] Smooth view + repeeted view orbit results in slow orbiting.
Campbell Barton [Tue, 27 Jul 2010 04:56:24 +0000 (04:56 +0000)]
bugfix [#21754] Smooth view + repeeted view orbit results in slow orbiting.
- original quat was not assigned yet so never gave a good result.
- quat angle comparison as vector is wrong.

9 years agobugfix [#22027] Group disappears in render after adding a group instance
Campbell Barton [Tue, 27 Jul 2010 04:02:09 +0000 (04:02 +0000)]
bugfix [#22027] Group disappears in render after adding a group instance

9 years agobugfix [#21407] 3DS Import do not show import options (resizing\transform fix)
Campbell Barton [Tue, 27 Jul 2010 02:41:30 +0000 (02:41 +0000)]
bugfix [#21407] 3DS Import do not show import options (resizing\transform fix)

9 years ago[#22274] Special chars = 2 characters
Campbell Barton [Tue, 27 Jul 2010 01:20:24 +0000 (01:20 +0000)]
[#22274] Special chars = 2 characters
workaround, just remove utf from number strings until we have proper UTF editing.

9 years agobugfix [#22605] Context auto-compleate fails first time
Campbell Barton [Tue, 27 Jul 2010 00:38:00 +0000 (00:38 +0000)]
bugfix [#22605] Context auto-compleate fails first time

9 years agoMerged changes in the trunk up to revision 30781.
Tamito Kajiyama [Tue, 27 Jul 2010 00:08:15 +0000 (00:08 +0000)]
Merged changes in the trunk up to revision 30781.

9 years agoAdded helper functions to the Freestyle module:
Tamito Kajiyama [Mon, 26 Jul 2010 23:50:32 +0000 (23:50 +0000)]
Added helper functions to the Freestyle module:

* evaluateColorRamp() to evaluate a color ramp at a given point in
the interval 0 to 1.

* evaluateCurveMappingF() to evaluate a curve mapping at a given
point in the interval 0 to 1.

9 years agoJason, from your merge 30325.
Campbell Barton [Mon, 26 Jul 2010 23:49:23 +0000 (23:49 +0000)]
Jason, from your merge 30325.

move toolsettings out of the userprefs into the sculpt menu, if these should be userprefs then they should be moved into that struct.