blender.git
9 years agobuild options to disable image formats WITH_CINEON, WITH_HDR.
Campbell Barton [Tue, 3 Aug 2010 11:25:34 +0000 (11:25 +0000)]
build options to disable image formats WITH_CINEON, WITH_HDR.
- updated cmake, make & scons.
- renamed CMake build options WITH_TIFF -> WITH_IMAGE_TIFF, same for DDS, OPENJPEG etc.

9 years agoremove commented scons lines from cmake files, fixed use of pointer poll function...
Campbell Barton [Tue, 3 Aug 2010 08:12:55 +0000 (08:12 +0000)]
remove commented scons lines from cmake files, fixed use of pointer poll function for ID drobdowns (currently unused)

9 years agopointer poll functions for object's, mainly for modifiers, constraints.
Campbell Barton [Tue, 3 Aug 2010 06:51:36 +0000 (06:51 +0000)]
pointer poll functions for object's, mainly for modifiers, constraints.
Lattice modifier only shows lattices types, Shrink wrap only meshes etc.

9 years agoforgot to update addons with recent update to bpy.types
Campbell Barton [Tue, 3 Aug 2010 06:36:07 +0000 (06:36 +0000)]
forgot to update addons with recent update to bpy.types

9 years agorna pointer poll function, not used yet.
Campbell Barton [Tue, 3 Aug 2010 05:14:59 +0000 (05:14 +0000)]
rna pointer poll function, not used yet.

9 years agopy/rna update, reload works again.
Campbell Barton [Tue, 3 Aug 2010 03:53:36 +0000 (03:53 +0000)]
py/rna update, reload works again.
- fix for reload (f8) crashing, missing incref when creating the script namespace.
- store the module names rather then the modules for reloading incase the modules get out of date.

9 years agobugfix for python console getting its namespace cleared after the first command was...
Campbell Barton [Tue, 3 Aug 2010 02:10:28 +0000 (02:10 +0000)]
bugfix for python console getting its namespace cleared after the first command was executed.

9 years agoset origin was setting surfaces as 2D curves, added dupli-group support using the...
Campbell Barton [Tue, 3 Aug 2010 00:56:43 +0000 (00:56 +0000)]
set origin was setting surfaces as 2D curves, added dupli-group support using the dupli's offset value.

9 years ago[#23156] Cannot Edit Custom Properties
Martin Poirier [Mon, 2 Aug 2010 22:52:55 +0000 (22:52 +0000)]
[#23156] Cannot Edit Custom Properties

Missing import after moving operators around.

9 years agoadded capabilty to limit color spill by an input mask
Robert Holcomb [Mon, 2 Aug 2010 17:34:44 +0000 (17:34 +0000)]
added capabilty to limit color spill by an input mask

9 years agobugfix [#23151] UV Project not update in realtime until you save the file and reopen it.
Campbell Barton [Mon, 2 Aug 2010 16:57:46 +0000 (16:57 +0000)]
bugfix [#23151] UV Project not update in realtime until you save the file and reopen it.

9 years agopatch [#23054] Fix for bug #22725 "text editor doent scroll with cursor"
Campbell Barton [Mon, 2 Aug 2010 16:41:14 +0000 (16:41 +0000)]
patch [#23054] Fix for bug #22725 "text editor doent scroll with cursor"
fixes [#22725] text editor doent scroll with cursor
from Justin Dailey (dail)

9 years agoSCons
Campbell Barton [Mon, 2 Aug 2010 16:27:41 +0000 (16:27 +0000)]
SCons
- remove scons option WITH_BF_FHS, its not needed anymore.
- comment WITH_BF_DOCS, was using epydocs which we dont use now.
- blenderlite target was broken, always using openmp.
- building without python wasnt working.

- fixed some warnings.

9 years agocmake
Campbell Barton [Mon, 2 Aug 2010 16:23:58 +0000 (16:23 +0000)]
cmake
- more strict warnings for gcc/unix, still <50 for a clean build.
- install files to /usr/local/share/blender/2.53 rather then /usr/local/share/blender/.blender

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

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

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

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

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

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

9 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

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

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

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

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

[1] http://lists.blender.org/pipermail/bf-committers/2010-February/026328.html
[2] http://lists.blender.org/pipermail/bf-committers/2010-August/028311.html
[3] http://lists.blender.org/pipermail/bf-committers/2010-August/028321.html

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

9 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
https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/
into release/scripts/addons_contrib/

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

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

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