blender.git
8 years agoCMake, check for clang++ compiler and disable WITH_IK_ITASC and WITH_MOD_FLUID until...
Campbell Barton [Sun, 20 Mar 2011 01:49:15 +0000 (01:49 +0000)]
CMake, check for clang++ compiler and disable WITH_IK_ITASC and WITH_MOD_FLUID until there supported.
possibly allows builing with Xcode4.

8 years ago== file browser ==
Andrea Weikert [Sun, 20 Mar 2011 00:34:08 +0000 (00:34 +0000)]
== file browser ==
Patch from Alexander Kuznetsov: Real-time File Selection, thanks for the contribution.

Still made a few minor changes from latest patch:
1. Rename SELECTEDFILE to HILITED_FILE, since we are not actually selecting the file, but previewing/highliting the possible selection.
2. Also made this clearer by not drawing the files as selected, but just highlight them.
3. Removed the Select/Deselect toggle when clicking on file, will be committed separately soon.

8 years agoFixing the other crash mentioned in bug #25083. m_current_scene isn't always pointing...
Mitchell Stokes [Sat, 19 Mar 2011 22:47:51 +0000 (22:47 +0000)]
Fixing the other crash mentioned in bug #25083. m_current_scene isn't always pointing to valid memory by the time LinkBlendFile is called. So, use the supplied scene_merge scene instead. Scene LibLoad was already doing this, so I just made Mesh and Action follow suit.

8 years agoFixing 1/2 crashes mentioned in bug #25083. This crash happens when LibLoad tries...
Mitchell Stokes [Sat, 19 Mar 2011 22:37:27 +0000 (22:37 +0000)]
Fixing 1/2 crashes mentioned in bug #25083. This crash happens when LibLoad tries to grab bad mesh data from a previous Load/Free via FindGameMesh(). FindGameMesh() makes use of m_map_mesh_to_gamemesh, so the mesh needs to be removed from this on free.

8 years agoTodo item:
Ton Roosendaal [Sat, 19 Mar 2011 18:23:21 +0000 (18:23 +0000)]
Todo item:

Improving UI visualization of using Material nodes:
- Property editor: the context top line now shows the linkage path
  (in material and texture view mode)
- Activating new material node refreshes preview in property editor
  when in texture mode.

This should make editing textures with node materials a bit more clear.

8 years agoCode comments only
Ton Roosendaal [Sat, 19 Mar 2011 16:30:52 +0000 (16:30 +0000)]
Code comments only

Tried to resolve todo item "Layer change in 3d view header doesn't update
dependencies on changed previously visible objects". Code is too much spread
around now though, and the 3d view header shares RNA code for changing layers.

I'll let this be a "glitch" for now.

8 years agough, left in a debug print in the previous commit
Janne Karhu [Sat, 19 Mar 2011 13:36:43 +0000 (13:36 +0000)]
ugh, left in a debug print in the previous commit

8 years agoBugfix #26547
Ton Roosendaal [Sat, 19 Mar 2011 13:36:36 +0000 (13:36 +0000)]
Bugfix #26547

Missing DAG_id_tag_update() on tool "Align Camera to View".

8 years agoFix for [#26546] Particles leak through deforming quad mesh
Janne Karhu [Sat, 19 Mar 2011 13:33:03 +0000 (13:33 +0000)]
Fix for [#26546] Particles leak through deforming quad mesh
* Slightly too strong optimization in the new collisions code, the "edges" in the middle of quads weren't checked at all.

8 years agoC, style changes (mostly white space edits), no functional change.
Campbell Barton [Sat, 19 Mar 2011 11:12:48 +0000 (11:12 +0000)]
C, style changes (mostly white space edits), no functional change.

8 years agoFix #26543: lamp sky settings were missing soft/linear light blend types,
Brecht Van Lommel [Sat, 19 Mar 2011 10:26:15 +0000 (10:26 +0000)]
Fix #26543: lamp sky settings were missing soft/linear light blend types,
made enum items shared with material ramp and mix node.

8 years agoremove some redundant vars, assignments & checks.
Campbell Barton [Sat, 19 Mar 2011 05:06:06 +0000 (05:06 +0000)]
remove some redundant vars, assignments & checks.

8 years ago2 tests for ctest.
Campbell Barton [Fri, 18 Mar 2011 23:58:13 +0000 (23:58 +0000)]
2 tests for ctest.

- script_load_addons: loads and onloads all addons, error if any cant be enabled or disabled.
- script_load_modules: loads all blenders modules, error if any modules raise an exception or if any modules in the scripts dir are not tested (except for presets and templates).

These are useful because lazy module loading means a module can have an error which isnt raised until the tools used. This gives a way to detect basic errors that used to happen on startup or when enabling the addon.

8 years agoSafety checks for macro defines
Joshua Leung [Fri, 18 Mar 2011 23:14:24 +0000 (23:14 +0000)]
Safety checks for macro defines

8 years agoFix [#25480] Unable to use Windows titlebar icons after Loopcut
Nathan Letwory [Fri, 18 Mar 2011 21:59:45 +0000 (21:59 +0000)]
Fix [#25480] Unable to use Windows titlebar icons after Loopcut
reported by Georg K
with patch [#26469] Windows mouse fix
by Alexander Kuznetsov

The amount of mouse grabs wasn't properly balanced with ungrabs, thus preventing from using proper mouse input outside client area.

8 years agohide addon_utils in bpy.utils & tag/remove unused vars in recent commits.
Campbell Barton [Fri, 18 Mar 2011 20:57:32 +0000 (20:57 +0000)]
hide addon_utils in bpy.utils & tag/remove unused vars in recent commits.

8 years agoFix for [#25878] UV Scale/Rotate/Grab break with non grid snapping.
Janne Karhu [Fri, 18 Mar 2011 16:35:42 +0000 (16:35 +0000)]
Fix for [#25878] UV Scale/Rotate/Grab break with non grid snapping.
* The selected uv-vertices (the ones being transformed) weren't being disregarded as snapping targets, so moving two verts that were in the same location together was impossible.

8 years agoBugfix #26462
Ton Roosendaal [Fri, 18 Mar 2011 16:09:29 +0000 (16:09 +0000)]
Bugfix #26462

Using "search menu" for browsing ID data (material, texture, brush)
wasn't sending an undo-push after use. This messed up undo or redo.

8 years agoNew particle collisions code:
Janne Karhu [Fri, 18 Mar 2011 15:31:32 +0000 (15:31 +0000)]
New particle collisions code:
* The old collisions code detected particle collisions by calculating the
  collision times analytically from the collision mesh faces. This was
  pretty accurate, but didn't support rotating/deforming faces at all, as
  the equations for these quickly become quite nasty.
* The new code uses a simple "distance to plane/edge/vert" function and
  iterates this with the Newton-Rhapson method to find the closest particle
  distance during a simulation step.
* The advantage in this is that the collision object can now move, rotate,
  scale or even deform freely and collisions are still detected reliably.
* For some extreme movements the calculation errors could stack up so much
  that the detection fails, but this can be easily fixed by increasing the
  particle size or simulation substeps.
* As a side note the algorithm doesn't really do point particles anymore,
  but uses a very small radius as the particle size when "size deflect" isn't
  selected.
* I've also updated the collision response code a bit, so now the particles
  shouldn't leak even from tight corners.

All in all the collisions code is now much cleaner and more robust than before!

8 years agoCOLLADA conformance: don't write empty libraries for effect, image and animation
Nathan Letwory [Fri, 18 Mar 2011 14:06:13 +0000 (14:06 +0000)]
COLLADA conformance: don't write empty libraries for effect, image and animation

8 years agoFix for crasher on Win XP, submitted by Kanttori.
Nathan Letwory [Fri, 18 Mar 2011 13:36:52 +0000 (13:36 +0000)]
Fix for crasher on Win XP, submitted by Kanttori.

size is 32 on XP, while sizeof(ri) gives 40. Pick the smaller one to pass to memcpy to prevent crashes.

8 years agofix for building on ubuntu 11.04 (pre-release), also remove WITH_INSTALL from cache.
Campbell Barton [Fri, 18 Mar 2011 12:12:53 +0000 (12:12 +0000)]
fix for building on ubuntu 11.04 (pre-release), also remove WITH_INSTALL from cache.

8 years agofix for [#26533] didnt take scene strips into account, tested copy/pasting scene...
Campbell Barton [Fri, 18 Mar 2011 10:35:17 +0000 (10:35 +0000)]
fix for [#26533] didnt take scene strips into account, tested copy/pasting scene strips now works with audio.

8 years agofixed [#26533] Audio strip mute after copy/paste
Campbell Barton [Fri, 18 Mar 2011 08:40:19 +0000 (08:40 +0000)]
fixed [#26533] Audio strip mute after copy/paste

8 years agofix [#26510] Crash when changing an object's property value
Campbell Barton [Fri, 18 Mar 2011 06:36:57 +0000 (06:36 +0000)]
fix [#26510] Crash when changing an object's property value

8 years agowhile looking into a problem in interface.c, noticed ui_get_but_val() is called frequ...
Campbell Barton [Fri, 18 Mar 2011 05:42:16 +0000 (05:42 +0000)]
while looking into a problem in interface.c, noticed ui_get_but_val() is called frequently when the return value isn't used (no functional change).

8 years agofix for using freed memory with modal grease pencil draw.
Campbell Barton [Fri, 18 Mar 2011 02:44:40 +0000 (02:44 +0000)]
fix for using freed memory with modal grease pencil draw.

8 years agofix for error in r35590, ARRAY_LAST_ITEM was returning one item over the end of the...
Campbell Barton [Fri, 18 Mar 2011 02:09:59 +0000 (02:09 +0000)]
fix for error in r35590, ARRAY_LAST_ITEM was returning one item over the end of the array.

8 years agofix [#26532] Does not save in specified format
Campbell Barton [Fri, 18 Mar 2011 00:12:51 +0000 (00:12 +0000)]
fix [#26532] Does not save in specified format

old bug from r6568 (or before) in BKE_write_ibuf(), when passed TAGA format it would use whatever format the image buffer already had.
expect this is exposed by updated image saving code in 2.5x.

8 years agoadd sphinx api reference note that menu's layout.operator_context defaults to EXEC_RE...
Campbell Barton [Thu, 17 Mar 2011 22:49:46 +0000 (22:49 +0000)]
add sphinx api reference note that menu's layout.operator_context defaults to EXEC_REGION_WIN rather then INVOKE_DEFAULT.

8 years agoCOLLADA: Don't write empty libraries for geometry, lights, cameras, controllers
Nathan Letwory [Thu, 17 Mar 2011 16:40:53 +0000 (16:40 +0000)]
COLLADA: Don't write empty libraries for geometry, lights, cameras, controllers

8 years agoBugfix #26483
Ton Roosendaal [Thu, 17 Mar 2011 14:52:01 +0000 (14:52 +0000)]
Bugfix #26483

Two small draw fixes to make the giant preview-image search-menu draw
correctly. (previews were drawing over a button)

8 years agobugfix [#26502] segmentationfault on pressing button to browse existing images for...
Campbell Barton [Thu, 17 Mar 2011 11:08:25 +0000 (11:08 +0000)]
bugfix [#26502] segmentationfault on pressing button to browse existing images for UV window
really old one!, since initial commit blender would crash scaling down large sizes eg: 60962 -> 128 (width or height).

the problem is scaledownx/y doesn't check buffer endpoints, with really large images theres a loop on a float value which can fail with large image sizes.

previous commit added asserts if the buffer runs over (assuming it doesnt crash),
This commit changes an epsilon value, tested this with random small images as well as images over 200,000 px, and it works fine, this is still flakey though and for really really big images it probably still fails.

8 years agoBLI_assert's for when scaledownx / scaledowny don't use the buffer correctly (theres...
Campbell Barton [Thu, 17 Mar 2011 10:37:48 +0000 (10:37 +0000)]
BLI_assert's for when scaledownx / scaledowny don't use the buffer correctly (theres a buffer overrun here [#26502]).

8 years agoSmall tooltip change to better indicate the purpose of the node name string and moved...
Lukas Toenne [Thu, 17 Mar 2011 10:31:20 +0000 (10:31 +0000)]
Small tooltip change to better indicate the purpose of the node name string and moved the node label button to the top, since this is usually what user will want to edit instead of the identifier name.

8 years agoAdded an optional label string to nodes. As pointed out by Sebastian Koenig, some...
Lukas Toenne [Thu, 17 Mar 2011 10:11:12 +0000 (10:11 +0000)]
Added an optional label string to nodes. As pointed out by Sebastian Koenig, some nodes (in particular render layer nodes) need custom labels, but it is not possible to make any useful generic abbreviation. The label string can be used as a custom user-defined label in this case, without the ugly .xxx extensions needed for unique node names. When the label string is empty, the default type label will be used.

8 years agoBugfix [#26505] zoom in selected keys on graph editor
Joshua Leung [Thu, 17 Mar 2011 10:02:37 +0000 (10:02 +0000)]
Bugfix [#26505] zoom in selected keys on graph editor

Not really a "bug", but it was on my todo anyways. Based on patch
[#26508] by Campbell, with a few modifications including extending
this to the Action/DopeSheet editor too.

8 years agomissed removing WITH_INSTALL reference.
Campbell Barton [Thu, 17 Mar 2011 09:09:48 +0000 (09:09 +0000)]
missed removing WITH_INSTALL reference.

8 years agoadd cancel() method for python defined operators.
Campbell Barton [Thu, 17 Mar 2011 07:02:02 +0000 (07:02 +0000)]
add cancel() method for python defined operators.

8 years agoerror with TIMEIT util define.
Campbell Barton [Thu, 17 Mar 2011 06:57:12 +0000 (06:57 +0000)]
error with TIMEIT util define.

8 years agochanged short's to int's image scale and flip functions (images can be bigger then...
Campbell Barton [Thu, 17 Mar 2011 05:15:54 +0000 (05:15 +0000)]
changed short's to int's image scale and flip functions (images can be bigger then short range)

8 years agofix for [#26524] Api autocomplete more errors
Campbell Barton [Thu, 17 Mar 2011 04:43:58 +0000 (04:43 +0000)]
fix for [#26524] Api autocomplete more errors
problem was caused by change in python behavior, now hasattr(val, attr) only suppresses attribute exceptions.

8 years agoBugfix: Grease Pencil paint didn't clean up properly after error-exits
Joshua Leung [Thu, 17 Mar 2011 02:53:56 +0000 (02:53 +0000)]
Bugfix: Grease Pencil paint didn't clean up properly after error-exits

This manisfested as an inability to draw any more strokes after trying
to draw a stroke while the active layer was locked and then unlocking
that layer to try and draw on it again.

8 years agofix own error - missing NULL check [#26523] Crash when load factory settings ( linked...
Campbell Barton [Wed, 16 Mar 2011 22:25:31 +0000 (22:25 +0000)]
fix own error - missing NULL check [#26523] Crash when load factory settings ( linked to rigify add-on ? )

8 years agofix own error [#26522] Api autocomplete return many errors
Campbell Barton [Wed, 16 Mar 2011 21:58:45 +0000 (21:58 +0000)]
fix own error [#26522] Api autocomplete return many errors
collections were getting __call__ attribute from the StructRNA, now ignore all starting with '_'

8 years agoremove cmake WITH_INSTALL option since its a target now.
Campbell Barton [Wed, 16 Mar 2011 21:32:20 +0000 (21:32 +0000)]
remove cmake WITH_INSTALL option since its a target now.

8 years agoBGE PhysicsConstraints.exportBulletFile improvement: also export the object names...
Erwin Coumans [Wed, 16 Mar 2011 21:20:24 +0000 (21:20 +0000)]
BGE PhysicsConstraints.exportBulletFile improvement: also export the object names to .bullet files.

8 years ago== filebrowser ==
Andrea Weikert [Wed, 16 Mar 2011 21:05:24 +0000 (21:05 +0000)]
== filebrowser ==
People had trouble finding the 'Create New Directory' operator button in the file browser. Changed this to show the text as well and make button bigger.

8 years agoFix for [#26520] Point Density turbulence not accessible in Texture Properties.
Janne Karhu [Wed, 16 Mar 2011 18:21:31 +0000 (18:21 +0000)]
Fix for [#26520] Point Density turbulence not accessible in Texture Properties.
* Mistake in the ui file.
* Also found a possible memory leak.

8 years agoMac OS X cmake changes and bundle fixes
Brecht Van Lommel [Wed, 16 Mar 2011 15:44:17 +0000 (15:44 +0000)]
Mac OS X cmake changes and bundle fixes

For cmake users, you should now use "make install" instead of "make". This was
already changed for Linux and Windows. Same for Xcode, use the install target.

Changes:
* CMake install mechanism, resulting bundle was verified to be indentical here.
* For cmake, include Info.plist in bundle using builtin mechanism for that.
  There was some code in packaging.cmake, but it wasn't correct as these
  properties need to be set on the executable.
* For scons, fix app bundle version, was still using removed release/VERSION.
* Remove unused blendercreator.app and blenderpublisher.app.
* Fix Info.plist being set as a binary file in svn, should be plain text.

8 years agoBug fix: Changing volume texture properties after render crashes (reported by mats...
Janne Karhu [Wed, 16 Mar 2011 14:21:35 +0000 (14:21 +0000)]
Bug fix: Changing volume texture properties after render crashes (reported by mats on irc)
* Preview render copied the volume texture, but not the actual volumedata, so normal render and preview render clashed.

8 years agoFix for [#26516] Blender crashes for Particle Physics Path Editing.
Janne Karhu [Wed, 16 Mar 2011 13:03:05 +0000 (13:03 +0000)]
Fix for [#26516] Blender crashes for Particle Physics Path Editing.
* Silly own mistake from some previous code cleanup.

8 years agoredo panel now runs check() function when defined, filesel and popup dialog were...
Campbell Barton [Wed, 16 Mar 2011 12:21:20 +0000 (12:21 +0000)]
redo panel now runs check() function when defined, filesel and popup dialog were already doing this.

8 years agoupdate x3d test md5s for recent changes, also ensure directory is created or export...
Campbell Barton [Wed, 16 Mar 2011 12:06:12 +0000 (12:06 +0000)]
update x3d test md5s for recent changes, also ensure directory is created or export tests fail.

8 years agoapi function added for [#26481] Export to X3D of IndexedFaceSet should use X3D 's...
Campbell Barton [Wed, 16 Mar 2011 08:53:35 +0000 (08:53 +0000)]
api function added for [#26481] Export to X3D of IndexedFaceSet should use X3D 's DEF USE mechanism

Object.is_modified(scene, 'PREVIEW') function for python exporters to check if any modifiers or shape keys are applied (weather the original mesh can be used for exporters).

8 years agoFix nan / black dots in image textures in some corner cases.
Brecht Van Lommel [Wed, 16 Mar 2011 01:16:43 +0000 (01:16 +0000)]
Fix nan / black dots in image textures in some corner cases.

8 years agoCMake, GCC: replace -Werror=strict-prototypes with -Wstrict-prototypes, some external...
Campbell Barton [Tue, 15 Mar 2011 22:30:07 +0000 (22:30 +0000)]
CMake, GCC: replace -Werror=strict-prototypes with -Wstrict-prototypes, some external headers cause this.

8 years agochanges to icon loading
Campbell Barton [Tue, 15 Mar 2011 22:24:47 +0000 (22:24 +0000)]
changes to icon loading
- look for icons in datafiles/icons (was looking in datafiles)
- was loading all images in datafiles/ on startup to check if they were the correct icon size, commented this since its unnecessary disk overhead on startup & images are checked for correctness when used anyway.
  when running blender from the source dir would load splash.png every time.

also add missing NULL pointer check if the icon couldn't be loaded and ensure no buffer overflow check on icon path creation.

8 years agoSmall safety fix: clear temporary link list in node space when copying.
Lukas Toenne [Tue, 15 Mar 2011 19:55:45 +0000 (19:55 +0000)]
Small safety fix: clear temporary link list in node space when copying.

8 years ago"Fix" #26445: edit mode vertex distortion
Sergey Sharybin [Tue, 15 Mar 2011 09:04:26 +0000 (09:04 +0000)]
"Fix" #26445: edit mode vertex distortion

Discussed with Campbell, it's not actually bug and it's more about limitation
of topology mirror. It will work properly when both sides of mesh have matching
unique topology.
Added note to tooltip, so now unpredictable behaviour shouldn't confuse users
so much.
Also gray out "Topology mirror" when "X Mirror" is disabled.

8 years agofix for crash with textbox add poll function, missing NULL check.
Campbell Barton [Tue, 15 Mar 2011 08:38:08 +0000 (08:38 +0000)]
fix for crash with textbox add poll function, missing NULL check.

8 years agofix [#26494] Auto run Python scripts option in User Preferences problem
Campbell Barton [Tue, 15 Mar 2011 08:04:11 +0000 (08:04 +0000)]
fix [#26494] Auto run Python scripts option in User Preferences problem
- opening a file with blender by passing it as an argument would and loading it once in blender left script auto execute flag in a different state.
- command line args --enable/disable-autoexec were being overridden by the user prefs.

8 years agouse defines for BKE_read_file, no functional change.
Campbell Barton [Tue, 15 Mar 2011 05:00:10 +0000 (05:00 +0000)]
use defines for BKE_read_file, no functional change.

8 years agofix [#26507] Rename bone -> segfault
Campbell Barton [Tue, 15 Mar 2011 03:38:15 +0000 (03:38 +0000)]
fix [#26507] Rename bone -> segfault

8 years agofix [#26504] Deselection of vertices not working in UVs editor
Campbell Barton [Tue, 15 Mar 2011 03:13:17 +0000 (03:13 +0000)]
fix [#26504] Deselection of vertices not working in UVs editor

8 years agobugfix [#26505] zoom in selected keys on graph editor
Campbell Barton [Tue, 15 Mar 2011 03:02:12 +0000 (03:02 +0000)]
bugfix [#26505] zoom in selected keys on graph editor
measure uv vertex distance in screen pixels rather then image.

8 years agofix for building on some configurations.
Campbell Barton [Tue, 15 Mar 2011 01:48:01 +0000 (01:48 +0000)]
fix for building on some configurations.

8 years agoworkaround for problem compiling with glu 1.5.8 on windows
Campbell Barton [Tue, 15 Mar 2011 01:31:07 +0000 (01:31 +0000)]
workaround for problem compiling with glu 1.5.8 on windows

8 years agoupgrade glew 1.5.1 --> 1.5.8, from the release logs changes are mainly for maintenanc...
Campbell Barton [Tue, 15 Mar 2011 00:08:16 +0000 (00:08 +0000)]
upgrade glew 1.5.1 --> 1.5.8, from the release logs changes are mainly for maintenance & supporting new opengl functions, this also fixes FreeBSD compile error.

8 years agofix [#26503] Copy Mirrored UV coords exception
Campbell Barton [Mon, 14 Mar 2011 23:52:50 +0000 (23:52 +0000)]
fix [#26503] Copy Mirrored UV coords exception

8 years agopep8 edits and remove commented code from last commit.
Campbell Barton [Mon, 14 Mar 2011 23:17:52 +0000 (23:17 +0000)]
pep8 edits and remove commented code from last commit.

8 years agofix/disallow [#26502] segmentationfault on pressing button to browse existing images...
Campbell Barton [Mon, 14 Mar 2011 23:02:47 +0000 (23:02 +0000)]
fix/disallow [#26502] segmentationfault on pressing button to browse existing images for UV window

creating RNA within draw functions can free existing RNA, crashing blender when this is already used in the UI.
disallowing this so it raises a python exception.

This was being used to dynamically generate addon categories so for now they are hard coded and we need proper enum-functions for python to do this.

8 years agoquiet warning for GCC
Campbell Barton [Mon, 14 Mar 2011 22:16:35 +0000 (22:16 +0000)]
quiet warning for GCC

8 years agofix [#26478] New image extension is appended to the old one instead of replacing it
Andrea Weikert [Mon, 14 Mar 2011 21:13:30 +0000 (21:13 +0000)]
fix [#26478] New image extension is appended to the old one instead of replacing it
Note:
Extension is replaced with the new extension if it's a known image extension.
Brings back old behaviour, a little bit refined.

8 years ago== filebrowser ==
Andrea Weikert [Mon, 14 Mar 2011 19:56:13 +0000 (19:56 +0000)]
== filebrowser ==
Cleanup of selection code.
Also fixed bug where selection outside the tiles was clamped and file in last column was selected.

8 years agoFix for [#20171] Properties of Hair are not animateable
Janne Karhu [Mon, 14 Mar 2011 17:37:51 +0000 (17:37 +0000)]
Fix for [#20171] Properties of Hair are not animateable
* Don't know when this got broken again, but now the "regrow hair" option works like it's supposed to again.

8 years agoGNUmakefile: do number of cores detection same as BSD, system_profiler apparently...
Brecht Van Lommel [Mon, 14 Mar 2011 16:11:56 +0000 (16:11 +0000)]
GNUmakefile: do number of cores detection same as BSD, system_profiler apparently changed between versions.

8 years agoBuild system
Ken Hughes [Mon, 14 Mar 2011 16:10:35 +0000 (16:10 +0000)]
Build system
------------
Allow BF_PYTHON_ABI_FLAGS to be specified on the command line for scons.

8 years agoFixes for GNUmakefile on Mac:
Brecht Van Lommel [Mon, 14 Mar 2011 15:40:07 +0000 (15:40 +0000)]
Fixes for GNUmakefile on Mac:
* Don't use "make install", doesn't work yet.
* Use total number of cores rather than number of processors.
* Quicker number of cores query, by not asking for all system info.

8 years agoBugfix #26498
Ton Roosendaal [Mon, 14 Mar 2011 14:00:15 +0000 (14:00 +0000)]
Bugfix #26498

CTRL+L "Make Links" operators were not using a correct poll(), causing
crash on using it without active object.

8 years agoBugfixes:
Joshua Leung [Mon, 14 Mar 2011 10:45:42 +0000 (10:45 +0000)]
Bugfixes:

- Sync Markers option works for local markers (or any other list of
markers in future) too now.
- Apply Pose to Restpose operator now displays a warning if an action
was found (warning about the action now being invalid)

8 years agobpy.types.libraries.load sphinx doc & examples (doc system needed some updates).
Campbell Barton [Mon, 14 Mar 2011 10:31:50 +0000 (10:31 +0000)]
bpy.types.libraries.load sphinx doc & examples (doc system needed some updates).

http://www.blender.org/documentation/blender_python_api_2_56_3/bpy.types.BlendDataLibraries.html#bpy.types.BlendDataLibraries.load

8 years agoMeasure of precaution: clear the list of temporary links in the node space after...
Lukas Toenne [Mon, 14 Mar 2011 07:30:49 +0000 (07:30 +0000)]
Measure of precaution: clear the list of temporary links in the node space after loading, in case the file was saved during active modal linking operators.

8 years agoauto-complete was moving the selection.
Campbell Barton [Mon, 14 Mar 2011 06:48:51 +0000 (06:48 +0000)]
auto-complete was moving the selection.

8 years agofix [#26489] Auto completion in console broken
Campbell Barton [Mon, 14 Mar 2011 05:39:07 +0000 (05:39 +0000)]
fix [#26489] Auto completion in console broken
own mistake in r35492.

8 years agomove mathutils api changelog into wiki.
Campbell Barton [Mon, 14 Mar 2011 05:03:53 +0000 (05:03 +0000)]
move mathutils api changelog into wiki.

8 years agochange addon defaults.
Campbell Barton [Mon, 14 Mar 2011 03:49:38 +0000 (03:49 +0000)]
change addon defaults.
- export uv layout enabled.
- 'render_netrender' enabled (still needs being made into an addon).
- export camera data disabled.

8 years agopatch [#26495] Adjustable outline width for selected objects
Campbell Barton [Mon, 14 Mar 2011 03:34:57 +0000 (03:34 +0000)]
patch [#26495] Adjustable outline width for selected objects

8 years agotag var as unused.
Campbell Barton [Mon, 14 Mar 2011 03:33:21 +0000 (03:33 +0000)]
tag var as unused.

8 years agoBugfix: "Sync Markers" option in Action Editor is now a bit more
Joshua Leung [Mon, 14 Mar 2011 03:10:23 +0000 (03:10 +0000)]
Bugfix: "Sync Markers" option in Action Editor is now a bit more
useful.

Instead of only working for the "extend" transform mode, standard
transforms now work too now (i.e. grab and scale).

TODO:
This currently only works on Scene markers, though it should be
possible to make this work on a provided list of markers instead...

8 years agoRNA API Rename
Campbell Barton [Mon, 14 Mar 2011 01:37:18 +0000 (01:37 +0000)]
RNA API Rename
'create' was used as prefix and suffix, change dupli list functions to use as suffix, this matches obj.animation_data_create() & obj.animation_data_clear().
 obj.create_dupli_list() --> obj.dupli_list_create()
 obj.free_dupli_list() --> obj.dupli_list_clear()

Don't use 'create' for object to mesh function since other uses of this are for createing data which stays attached, instead use mathutils style naming convention.
  obj.create_mesh() --> obj.to_mesh()

8 years agoadd dir() function for library objects, also was missing call to clear temp flag...
Campbell Barton [Mon, 14 Mar 2011 01:00:41 +0000 (01:00 +0000)]
add dir() function for library objects, also was missing call to clear temp flag on exceptions.

8 years agoReadme file:
Thomas Dinges [Sun, 13 Mar 2011 22:35:54 +0000 (22:35 +0000)]
Readme file:
* 2.56 > 2.56a and 1 grammar fix.

8 years agoGroup tree sockets were not being freed after removing.
Lukas Toenne [Sun, 13 Mar 2011 22:13:42 +0000 (22:13 +0000)]
Group tree sockets were not being freed after removing.

8 years agoFix for crashes due to links without fromnode pointers. This can happen with "unfinis...
Lukas Toenne [Sun, 13 Mar 2011 22:07:55 +0000 (22:07 +0000)]
Fix for crashes due to links without fromnode pointers. This can happen with "unfinished" links created during the modal linking operator or when creating links from group tree inputs.

In addition don't store unfinished links in the nodetree->links list any more. This makes code a bit safer because all links in that list can be considered valid now. The temporary bNodeLinkDrag structs used by the modal linking operator are now also stored in a list in SpaceNode, so these links can be drawn too (this separation also allows different display of temporary links, e.g. currently they are drawn on top of all nodes).

8 years ago* Small code cleanup/removal
Thomas Dinges [Sun, 13 Mar 2011 20:39:15 +0000 (20:39 +0000)]
* Small code cleanup/removal

8 years agoFixed the node_recurs_check function used to define the order of nodes in ntreeSolveO...
Lukas Toenne [Sun, 13 Mar 2011 17:23:44 +0000 (17:23 +0000)]
Fixed the node_recurs_check function used to define the order of nodes in ntreeSolveOrder. This was creating equal node levels in some cases (auto-linking viewer to nodes further downstream), leading to falsely detected circular dependencies.

8 years agofix mistake from commit rev. 33868. The variable icon was a pointer, not an integer...
Andrea Weikert [Sun, 13 Mar 2011 17:20:52 +0000 (17:20 +0000)]
fix mistake from commit rev. 33868. The variable icon was a pointer, not an integer icon id (ICON_NONE).

8 years agoFix "make test" on Mac, couldn't find executable.
Brecht Van Lommel [Sun, 13 Mar 2011 13:09:18 +0000 (13:09 +0000)]
Fix "make test" on Mac, couldn't find executable.

8 years agoRNA: use a different method to set DNA types for BlendData* collections, to
Brecht Van Lommel [Sun, 13 Mar 2011 13:01:02 +0000 (13:01 +0000)]
RNA: use a different method to set DNA types for BlendData* collections, to
solve issues with c++ api.