blender.git
9 years agosynched with trunk at revision 31065
Nick Samarin [Thu, 5 Aug 2010 13:54:56 +0000 (13:54 +0000)]
synched with trunk at revision 31065

9 years agofixed bug: destroy obstacle simulation after removing of all objects
Nick Samarin [Thu, 5 Aug 2010 11:08:52 +0000 (11:08 +0000)]
fixed bug: destroy obstacle simulation after removing of all objects

9 years agobugfix [#23164] Copied Scene Nodes!
Campbell Barton [Thu, 5 Aug 2010 10:50:38 +0000 (10:50 +0000)]
bugfix [#23164] Copied Scene Nodes!
copying a scene would still have nodes point back to the old scene which would crash (in some cases) or break rendering.

9 years agoDo not reset bevel/taper object when they've got incorrect type - just do
Sergey Sharybin [Thu, 5 Aug 2010 08:39:25 +0000 (08:39 +0000)]
Do not reset bevel/taper object when they've got incorrect type - just do
noting in makebevelcurve and calc_taper functions if type is not curve.

This avoids DNA changing depended on object recalc.

9 years agoadded test for correctness of navigation polygon: check if all triangles are involved...
Nick Samarin [Thu, 5 Aug 2010 07:27:28 +0000 (07:27 +0000)]
added test for correctness of navigation polygon: check if all triangles are involved in polygon formation

9 years agobugfix [#23148] "ImportError: __import__ not found" on changing Render FPS
Campbell Barton [Thu, 5 Aug 2010 03:25:45 +0000 (03:25 +0000)]
bugfix [#23148] "ImportError: __import__ not found" on changing Render FPS

The BGE was getting the namespace dict directly from __main__ which conflicts
with my recent fix to get the pickle module working which to overwrote the __main__ module on script execution.

Simple fix is to have the BGE and Blender use the same method of getting namespaces.
Renamed CreateGlobalDictionary() to bpy_namespace_dict_new() and moved into bpy_internal_import.c

pickle still wont work in the BGE since we make a copy of __main__ namespace but for speed would rather not have to replace the __main__ module many times per second.

9 years agopatch [#23185] Mark All in Text Editor always reports "Text not found" when wrap...
Campbell Barton [Thu, 5 Aug 2010 01:46:34 +0000 (01:46 +0000)]
patch [#23185] Mark All in Text Editor always reports "Text not found" when wrap is off

9 years agointegrated adaptive sampling algorithm for obstacle avoidance
Nick Samarin [Wed, 4 Aug 2010 19:32:37 +0000 (19:32 +0000)]
integrated adaptive sampling algorithm for obstacle avoidance

9 years agoAdd BF_BUILDINFO support to Python API too.
Nathan Letwory [Wed, 4 Aug 2010 17:23:13 +0000 (17:23 +0000)]
Add BF_BUILDINFO support to Python API too.

reported by dail in IRC #blendercoders.

9 years ago== docs ==
Luca Bonavita [Wed, 4 Aug 2010 16:57:24 +0000 (16:57 +0000)]
== docs ==

Started some api documentation, hopefully these pages are now a bit more clear:
- http://www.blender.org/documentation/250PythonDoc/bpy.types.Panel.html
- http://www.blender.org/documentation/250PythonDoc/bpy.types.Menu.html
- http://www.blender.org/documentation/250PythonDoc/bpy.types.Header.html

9 years agoFix #23003: setting particle number to 0 was not working correct,
Brecht Van Lommel [Wed, 4 Aug 2010 16:14:03 +0000 (16:14 +0000)]
Fix #23003: setting particle number to 0 was not working correct,
committing patch #23119 by Jeroen Bakker to fix this, thanks!

9 years agoFix #23099: cmake/mac did not copy the scripts/ directory correct for install.
Brecht Van Lommel [Wed, 4 Aug 2010 16:05:19 +0000 (16:05 +0000)]
Fix #23099: cmake/mac did not copy the scripts/ directory correct for install.

9 years agoFix sculpt 3d view menu showing in two columns.
Brecht Van Lommel [Wed, 4 Aug 2010 15:59:15 +0000 (15:59 +0000)]
Fix sculpt 3d view menu showing in two columns.

9 years agoFix #23157: missing sculpt symmetry and appearance panels after python
Brecht Van Lommel [Wed, 4 Aug 2010 15:56:18 +0000 (15:56 +0000)]
Fix #23157: missing sculpt symmetry and appearance panels after python
registration changes.

9 years agoFix hang on opening addons tab, having a .py file without bl_addon_info
Brecht Van Lommel [Wed, 4 Aug 2010 15:52:59 +0000 (15:52 +0000)]
Fix hang on opening addons tab, having a .py file without bl_addon_info
would go into eternal loop.

9 years agoFix #22869: procedural compositing buffers from texture nodes were not restored
Brecht Van Lommel [Wed, 4 Aug 2010 15:51:52 +0000 (15:51 +0000)]
Fix #22869: procedural compositing buffers from texture nodes were not restored
correct between localize/merge, bugfix for #21727 only did it one way.

9 years agorewrote wm.context_set_id() to automatuically match the pointer type with the bpy...
Campbell Barton [Wed, 4 Aug 2010 13:59:25 +0000 (13:59 +0000)]
rewrote wm.context_set_id() to automatuically match the pointer type with the bpy.data.* iterator by inspecting rna.

9 years agoupdated brush options from last commit so they are filtered correctly (sculpt brushes...
Campbell Barton [Wed, 4 Aug 2010 12:51:32 +0000 (12:51 +0000)]
updated brush options from last commit so they are filtered correctly (sculpt brushes only available in sculpt mode)

9 years agoBrush/Paint internal changes
Campbell Barton [Wed, 4 Aug 2010 12:18:07 +0000 (12:18 +0000)]
Brush/Paint internal changes
- remove brush array for each Paint struct, just use a single brush pointer.
- removed rna function based template filtering.
- filter brushes using a flag on the brush and the pointer poll function.
- set the brushes using a new operator WM_OT_context_set_id().

TODO
- remake startup.blend, currently brush groupings are lost.
- rewrite WM_OT_context_set_id() to use rna introspection.

9 years agofix path to release/python.zip for scons and cmake
Stefan Gartner [Wed, 4 Aug 2010 11:07:14 +0000 (11:07 +0000)]
fix path to release/python.zip for scons and cmake

I hope this doesn't break anything

9 years agoFix crash accessing particle edit values outside of particle edit mode.
Brecht Van Lommel [Wed, 4 Aug 2010 09:20:59 +0000 (09:20 +0000)]
Fix crash accessing particle edit values outside of particle edit mode.

9 years agoFix crash in point cache baking due to my recent changes.
Brecht Van Lommel [Wed, 4 Aug 2010 08:58:38 +0000 (08:58 +0000)]
Fix crash in point cache baking due to my recent changes.

9 years ago2.5: Hide options panel for halo materials, none of the settings here
Brecht Van Lommel [Wed, 4 Aug 2010 08:49:56 +0000 (08:49 +0000)]
2.5: Hide options panel for halo materials, none of the settings here
should have an effect on halo's currently, and they share some of the
same flag bits as other halo options, which makes it even more confusing.

9 years ago== Makefiles ==
Stefan Gartner [Wed, 4 Aug 2010 08:42:18 +0000 (08:42 +0000)]
== Makefiles ==
 * add support for LCMS (disabled by default, set WITH_LCMS to true to enable it)
 * fixed typo that prevented TIFF support to be properly enabled
 * enable ray optimization by default (scons and cmake already did this)
 * fixed building with libsndfile on darwin (disabled by default)
 * quicktime: use audaspace headers from $(NAN_AUDASPACE)/include instead of intern
 * gameengine: add -DWITH_FFMPEG to compiler flags when building with ffmpeg support

9 years agoinclude cleanup, no functional changes
Campbell Barton [Wed, 4 Aug 2010 04:01:27 +0000 (04:01 +0000)]
include cleanup, no functional changes
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases)
- removed DNA_wave_types.h (never used)
- removed Main.wave

9 years ago[#23162] GCC 4.2 and prior support broken in CMakeLists.txt as of r30985
Campbell Barton [Wed, 4 Aug 2010 00:18:05 +0000 (00:18 +0000)]
[#23162] GCC 4.2 and prior support broken in CMakeLists.txt as of r30985
revert warning changes from r30985, broke with older GCC

9 years agoFix unbalanced {}.
Guillermo S. Romero [Wed, 4 Aug 2010 00:16:18 +0000 (00:16 +0000)]
Fix unbalanced {}.

9 years agobugfix [#23173] Blender crashes on selecting display color corrected image in image...
Campbell Barton [Tue, 3 Aug 2010 23:59:42 +0000 (23:59 +0000)]
bugfix [#23173] Blender crashes on selecting display color corrected image in image editor
notes,
- Use our own callback which doesnt exit() blender.
- Hard coded 'MONOSCNR.ICM' is bad, should this be a user preference or stored per image?
- imb->crect was being set to imb->rect in some cases, disable this because its possible 'rect' gets reallocated and crect becomes freed memory.
- when crect cant be created draw pink checkers, so users dont get confused if color correction isnt working. (previously would draw the uncorrected image, if it didnt crash)

9 years agoIncrease min/max range for Value input nodes. More useful when using Math nodes ...
Nathan Letwory [Tue, 3 Aug 2010 23:57:39 +0000 (23:57 +0000)]
Increase min/max range for Value input nodes. More useful when using Math nodes (inverting sign was impossible using value input in CMP before).

9 years agoAdd button to set Compression level when output to PNG. Without this there'd be absol...
Nathan Letwory [Tue, 3 Aug 2010 23:55:34 +0000 (23:55 +0000)]
Add button to set Compression level when output to PNG. Without this there'd be absolute no compression at all = large PNGs.

9 years agoMissed keyIndex data existment check when the whole nurb is deleting
Sergey Sharybin [Tue, 3 Aug 2010 23:04:45 +0000 (23:04 +0000)]
Missed keyIndex data existment check when the whole nurb is deleting

9 years agoexit image externally wasnt checking if the image existed first.
Campbell Barton [Tue, 3 Aug 2010 23:02:18 +0000 (23:02 +0000)]
exit image externally wasnt checking if the image existed first.

9 years agoremoving the f so that glsl shaders work on older cards
Tom Musgrove [Tue, 3 Aug 2010 22:44:15 +0000 (22:44 +0000)]
removing the f so that glsl shaders work on older cards

9 years agobugfix [#23174] Text Editor: View Top of File and View Bottom of File not working...
Campbell Barton [Tue, 3 Aug 2010 22:41:01 +0000 (22:41 +0000)]
bugfix [#23174] Text Editor: View Top of File and View Bottom of File not working [Patch to fix attached]
also moved these into the View menu (removed Edit->View)

9 years agobugfix [#23158] Translate operator leaks memory if nothing selected
Campbell Barton [Tue, 3 Aug 2010 22:36:59 +0000 (22:36 +0000)]
bugfix [#23158] Translate operator leaks memory if nothing selected

9 years agofix for typo in commit #31007: filtering in file browser for png and tga files wouldn...
Andrea Weikert [Tue, 3 Aug 2010 19:03:51 +0000 (19:03 +0000)]
fix for typo in commit #31007: filtering in file browser for png and tga files wouldn't work anymore.

9 years agoExport OBJ script:
Thomas Dinges [Tue, 3 Aug 2010 17:20:18 +0000 (17:20 +0000)]
Export OBJ script:
*Removing some ancient lines.

9 years agominor cleanup, minimal functional change.
Campbell Barton [Tue, 3 Aug 2010 12:34:42 +0000 (12:34 +0000)]
minor cleanup, minimal functional change.
replace some long duplicated, ifdef'd if statements for image extension.
- new function: BLI_testextensie_array(), can take an array of extensions.
- define extension arrays: imb_ext_image, imb_ext_movie, imb_ext_sound - we could have more of these.
- removed amiga extensions iff and lbm

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 ago- moved navmesh conversion code to ED_Editors project (ED_navmesh_conversion.h and...
Nick Samarin [Fri, 30 Jul 2010 13:02:32 +0000 (13:02 +0000)]
- moved navmesh conversion code to ED_Editors project (ED_navmesh_conversion.h and navmesh_conversion.cpp files)
- added new custom data layer CD_Recast

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