11 years agouse try/except when unloading modules too.
Campbell Barton [Mon, 2 Aug 2010 14:25:23 +0000 (14:25 +0000)]
use try/except when unloading modules too.

11 years agogive better feedback when a class doesnt register correctly.
Campbell Barton [Mon, 2 Aug 2010 13:41:59 +0000 (13:41 +0000)]
give better feedback when a class doesnt register correctly.

11 years agoBased on recent feedback, the copyright.txt file contained
Ton Roosendaal [Mon, 2 Aug 2010 13:31:43 +0000 (13:31 +0000)]
Based on recent feedback, the copyright.txt file contained
statements that were restricting the GNU GPL, which is not
allowed for binaries. Now the text restricts to summarizing
the freedom of GPL and a disclaimer.

11 years agopy addons: much faster scanning of addons by only parsing the dictionary rather then...
Campbell Barton [Mon, 2 Aug 2010 12:35:32 +0000 (12:35 +0000)]
py addons: much faster scanning of addons by only parsing the dictionary rather then the entire file.

11 years agofix for parsing scripts
Campbell Barton [Mon, 2 Aug 2010 12:07:50 +0000 (12:07 +0000)]
fix for parsing scripts

11 years agoupdate userpref's addon code to support new register/unregister, now the modules...
Campbell Barton [Mon, 2 Aug 2010 07:50:58 +0000 (07:50 +0000)]
update userpref's addon code to support new register/unregister, now the modules are parsed rather then being imported since it become quite tricky to import once without registering the classes, then again in a way that registered the existing modules classes without a reload() - which had problems too.

11 years agominor changes to registration before committing addons fixes
Campbell Barton [Mon, 2 Aug 2010 06:56:31 +0000 (06:56 +0000)]
minor changes to registration before committing addons fixes

11 years agominor changes to Martni's commit 30961
Campbell Barton [Mon, 2 Aug 2010 04:20:41 +0000 (04:20 +0000)]
minor changes to Martni's commit 30961
- removed the immediate option from C/api and now store in python only, when python loads modules it sets it to False.
- unloading a module would clear the entire TypeMap for all modules, only remove the module types that is being unloaded.
- added some checks for bad class registering, report errors rather then crashing.

11 years agofix for sequencer panel registration, a parent class panel was being registered as...
Campbell Barton [Mon, 2 Aug 2010 04:10:16 +0000 (04:10 +0000)]
fix for sequencer panel registration, a parent class panel was being registered as well as its children which crashed running the poll() function.
theres not much point in having 3 classes here, just use 1.

11 years agoremove register/unregister from templates
Campbell Barton [Mon, 2 Aug 2010 03:30:07 +0000 (03:30 +0000)]
remove register/unregister from templates

11 years agoRNA Types metaclass registration
Martin Poirier [Mon, 2 Aug 2010 02:55:12 +0000 (02:55 +0000)]
RNA Types metaclass registration

See mailing list posts for details [1][2][3]

Addons still need to be fixed; Campbell said he'd do it today.

See any of the py files (outside netrender) in this commit for how to do it (it's rather simple).


11 years ago== povray ==
Luca Bonavita [Mon, 2 Aug 2010 01:58:32 +0000 (01:58 +0000)]
== povray ==

Removing Povray from here, it is now an addon in bf-extensions (after discussion with Campbell).
This will let us manage better the transition to PovRay3.7 and later versions.

11 years ago== addons ==
Luca Bonavita [Mon, 2 Aug 2010 01:37:52 +0000 (01:37 +0000)]
== addons ==

Loads addons from usual .blender/scripts/addons but also from .blender/scripts/addons_contrib if this folder exists

To get  latest contrib scripts, we can checkout
into release/scripts/addons_contrib/

11 years agopython mathutils change
Campbell Barton [Mon, 2 Aug 2010 00:08:01 +0000 (00:08 +0000)]
python mathutils change
 quat * quat was returning the dot product (a float), rather then the cross product.
 Use BLI_math's mul_qt_qtqt() function.

11 years agofix for py console autocomp. need to swap out __main__ module there too.
Campbell Barton [Sun, 1 Aug 2010 22:54:39 +0000 (22:54 +0000)]
fix for py console autocomp. need to swap out __main__ module there too.

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

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

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

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

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

11 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

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

11 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

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

11 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

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

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

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

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

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

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

11 years agobugfix's
Campbell Barton [Sun, 1 Aug 2010 11:00:36 +0000 (11:00 +0000)]
  [#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.

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

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

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

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

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

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

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

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

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

11 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

11 years agoProperties Window:
Thomas Dinges [Fri, 30 Jul 2010 16:15:56 +0000 (16:15 +0000)]
Properties Window:
* Deleted 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.

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

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

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

11 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?)

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

11 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

11 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

11 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

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

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

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

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

11 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

11 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()

11 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 =

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

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

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

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

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

11 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

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

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

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

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

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

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

11 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

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

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

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

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

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

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

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

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

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

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

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

11 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()

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

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

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

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

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

11 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

* 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

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

11 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

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

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

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

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

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

11 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

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

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

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

11 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