blender.git
7 years agoFixed issues updating texture buffer used for clip editor frame display
Sergey Sharybin [Mon, 9 Jul 2012 10:26:01 +0000 (10:26 +0000)]
Fixed issues updating texture buffer used for clip editor frame display
when specific circumstances are met.

Mainly issue was caused by checking ImBuf pointers, which used to fail
when some post-processing flags are changed. This was caused by the
fact that freeing old ImBuf and allocating new one could lead to new
ImBuf have the same pointer as previous one, which confuses cache.

7 years agoAs a response to issue [#28483] "Enable/Disable Rigid Body actuator do nothing" repor...
Mitchell Stokes [Mon, 9 Jul 2012 04:57:21 +0000 (04:57 +0000)]
As a response to issue [#28483] "Enable/Disable Rigid Body actuator do nothing" reported by Jean-Francois Gallant (pyroevil), I'm adding preliminary support to enable and disable rigid body physics on dynamic objects. This is can be done via the Edit Object Actuator or through KX_GameObject.enableRigidBody() and KX_GameObject.disableRigidBody(). Thanks to Sergej Reich for his help with the patch.

7 years agoFixing a memory leak when using Bullet's btGImpactMeshShape for triangle meshes ...
Mitchell Stokes [Sun, 8 Jul 2012 23:15:26 +0000 (23:15 +0000)]
Fixing a memory leak when using Bullet's btGImpactMeshShape for triangle meshes (e.g., rigid bodies). The physic controller's free was only handling the case where regular triangle meshes were used.

7 years agocode cleanup
Campbell Barton [Sun, 8 Jul 2012 21:37:59 +0000 (21:37 +0000)]
code cleanup

7 years agolocalview operator now reports when 8 views are reached (since 2.5x update was printi...
Campbell Barton [Sun, 8 Jul 2012 20:53:44 +0000 (20:53 +0000)]
localview operator now reports when 8 views are reached (since 2.5x update was printing in console only).

7 years agostyle cleanup
Campbell Barton [Sun, 8 Jul 2012 20:36:00 +0000 (20:36 +0000)]
style cleanup

7 years agoFixing a memory leak introduced by the Character Physics type patch: a new btGhostPai...
Mitchell Stokes [Sun, 8 Jul 2012 20:05:40 +0000 (20:05 +0000)]
Fixing a memory leak introduced by the Character Physics type patch: a new btGhostPairCallback was being created, but never freed.

7 years agocorrect another case of nonnull (all should be correct now), and comment about color...
Campbell Barton [Sun, 8 Jul 2012 17:51:28 +0000 (17:51 +0000)]
correct another case of nonnull (all should be correct now), and comment about color conversion.

7 years agoGrmbl, dummy argparse...
Bastien Montagne [Sun, 8 Jul 2012 17:18:01 +0000 (17:18 +0000)]
Grmbl, dummy argparse...

7 years agoSome cleanup, and update to make those files usable both as self-executables and...
Bastien Montagne [Sun, 8 Jul 2012 17:10:10 +0000 (17:10 +0000)]
Some cleanup, and update to make those files usable both as self-executables and module stuff...

Also updated update_mo to allwo specifying a custom po/mo file.

7 years agocorrect use of nonull attribute
Campbell Barton [Sun, 8 Jul 2012 17:08:27 +0000 (17:08 +0000)]
correct use of nonull attribute

7 years agoFix for error from grumpy gcc in "over-warning" mode. Must explicitely cast uintptr_t...
Bastien Montagne [Sun, 8 Jul 2012 15:48:47 +0000 (15:48 +0000)]
Fix for error from grumpy gcc in "over-warning" mode. Must explicitely cast uintptr_t to unsigned int (othe solution would be to use PRIuPTR macro from inttypes.h, but that would probably causes some problems with windows...).

7 years agocorrect use of __attribute__((nonnull))
Campbell Barton [Sun, 8 Jul 2012 15:11:13 +0000 (15:11 +0000)]
correct use of __attribute__((nonnull))

7 years agoMulti device OpenCL did not work.
Jeroen Bakker [Sun, 8 Jul 2012 13:03:09 +0000 (13:03 +0000)]
Multi device OpenCL did not work.
case was that cached kernels were used by both devices in separate
threads.

removed the cached kernels.

7 years agocode cleanup: quiet uninitialized memory use warning for X11 - harmless in this case...
Campbell Barton [Sun, 8 Jul 2012 12:23:58 +0000 (12:23 +0000)]
code cleanup: quiet uninitialized memory use warning for X11 - harmless in this case but always gave warnings with memcheck (RGB color for alpha zero icon color wasnt initialized).

also some other minor changes.

7 years agoSome cleanup.
Bastien Montagne [Sun, 8 Jul 2012 09:27:33 +0000 (09:27 +0000)]
Some cleanup.

Also trying to make it usuable from other tools (imports become a bit tricky here :/ ).

7 years agouse gcc attrubutes to warn on unused return values and arguments which shouldnt be...
Campbell Barton [Sun, 8 Jul 2012 06:00:27 +0000 (06:00 +0000)]
use gcc attrubutes to warn on unused return values and arguments which shouldnt be NULL.

also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either.

7 years agoFix for [#31701] "radar causes collision" reported by Markus Rietz (afeature).
Mitchell Stokes [Sun, 8 Jul 2012 05:00:16 +0000 (05:00 +0000)]
Fix for [#31701] "radar causes collision" reported by Markus Rietz (afeature).

The problem was that the physics shapes for the near and radar sensor were getting turned into characters because CcdConstructionInfo::m_bCharacter was defaulting to true. Now it defaults to false and is explicitly set to true for only Character physics types.

7 years agouse alloc_size attribute for guarded alloc functions with gcc.
Campbell Barton [Sun, 8 Jul 2012 03:15:37 +0000 (03:15 +0000)]
use alloc_size attribute for guarded alloc functions with gcc.

7 years agofix [#32020] Image will not render in second (any scene other than first) if scene...
Campbell Barton [Sun, 8 Jul 2012 00:04:41 +0000 (00:04 +0000)]
fix [#32020] Image will not render in second (any scene other than first) if scene name is longer than 28 characters

7 years agoFixing a typo!
Bastien Montagne [Sat, 7 Jul 2012 23:38:40 +0000 (23:38 +0000)]
Fixing a typo!

7 years agostyle cleanup
Campbell Barton [Sat, 7 Jul 2012 22:51:57 +0000 (22:51 +0000)]
style cleanup

7 years agoincrease file browser title length for multibyte translations and use utf8 copy...
Sv. Lockal [Sat, 7 Jul 2012 14:58:40 +0000 (14:58 +0000)]
increase file browser title length  for multibyte translations and use utf8 copy for it

7 years agoUpdate/fixes (was escaping more chars than needed!)
Bastien Montagne [Sat, 7 Jul 2012 14:28:49 +0000 (14:28 +0000)]
Update/fixes (was escaping more chars than needed!)

7 years agoMinor UI message update.
Bastien Montagne [Sat, 7 Jul 2012 13:51:07 +0000 (13:51 +0000)]
Minor UI message update.

7 years agoAdding a note to KX_Camera.projection_matrix and KX_Camera.modelview_matrix to warn...
Mitchell Stokes [Sat, 7 Jul 2012 06:42:44 +0000 (06:42 +0000)]
Adding a note to KX_Camera.projection_matrix and KX_Camera.modelview_matrix to warn that both values are the identity matrix prior to the first frame of rendering. Both values are calculated when rendering, which is after Python scripts have a chance to run on frame 1.

7 years agostyle cleanup: use c style comments in C code
Campbell Barton [Fri, 6 Jul 2012 23:56:59 +0000 (23:56 +0000)]
style cleanup: use c style comments in C code

7 years agocode cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which...
Campbell Barton [Fri, 6 Jul 2012 22:48:28 +0000 (22:48 +0000)]
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.

also added some comments.

7 years agodecrease size for convex hull epsilon when checking which side of a face the vertex...
Campbell Barton [Fri, 6 Jul 2012 20:16:04 +0000 (20:16 +0000)]
decrease size for convex hull epsilon when checking which side of a face the vertex is on.

this doesnt fix all cases but works better then it did.

7 years agostyle cleanup: var names
Campbell Barton [Fri, 6 Jul 2012 19:22:21 +0000 (19:22 +0000)]
style cleanup: var names

7 years agoFix for bug 32017.
Chris Want [Fri, 6 Jul 2012 16:55:35 +0000 (16:55 +0000)]
Fix for bug 32017.

There was some bad recursion introduced recently that caused crashes
when a Material node is the same material as the material itself (e.g.,
if Material.001 has a node with Material.001).

This commit attempt to correct this by keeping track of the material
at the root of the node tree, and doesn't recurse further if it
encounters it again within the nodetree.

Joshua, please review!

7 years agofix for rare crash we have with some mango files.
Campbell Barton [Fri, 6 Jul 2012 14:24:41 +0000 (14:24 +0000)]
fix for rare crash we have with some mango files.

7 years agoFix ultra stupid mistake on Scons.
Antony Riakiotakis [Fri, 6 Jul 2012 13:36:54 +0000 (13:36 +0000)]
Fix ultra stupid mistake on Scons.

7 years ago * Added OpenCL implementation of the Defocus node
Jeroen Bakker [Fri, 6 Jul 2012 11:31:40 +0000 (11:31 +0000)]
 * Added OpenCL implementation of the Defocus node
 * Always disable two phase compositing during rendering

 - At Mind -

7 years agouse icons for rgb colors
Campbell Barton [Fri, 6 Jul 2012 11:24:43 +0000 (11:24 +0000)]
use icons for rgb colors

7 years agoFix [#31923] Particle instanced objects don't show textures in render
Bastien Montagne [Fri, 6 Jul 2012 10:03:27 +0000 (10:03 +0000)]
Fix [#31923] Particle instanced objects don't show textures in render

Actually, particle instance modifier was still using tessfaces, but copying poly cdata!

Simply made it using poly/loop.

7 years agorgb color display options for compo backdrop.
Campbell Barton [Fri, 6 Jul 2012 09:22:59 +0000 (09:22 +0000)]
rgb color display options for compo backdrop.

7 years agoFix [#32003] Triangulate fails for simple case.
Bastien Montagne [Fri, 6 Jul 2012 07:40:54 +0000 (07:40 +0000)]
Fix [#32003] Triangulate fails for simple case.

Main problem was in poly_rotate_plane() (which rotates a ngon to make its normal aligned with Z axis), it did not handled the case where the normal was aligned but opposite to the Z axis (which had the consequence that, as with the T mesh of the given blend, all tested new edges inside face were detected as outside, and vice-versa...).

Additionnaly, I made a mistake in previous Triangulate commit (r48243) in bm_face_goodline, which could allow a few invalid triangles in some specific cases, fixed!

And done a bit of cleanup, as I was at it.

7 years agoFix for [#31978] "Horizon colour drawn on two edges of screen when a 2D filter is...
Mitchell Stokes [Thu, 5 Jul 2012 21:03:29 +0000 (21:03 +0000)]
Fix for [#31978] "Horizon colour drawn on two edges of screen when a 2D filter is active" reported by Alex Fraser.

The glViewport used for 2D Filters wasn't quite matching the 3d view. It seems the height and width were both off by one. There may be a deeper bug with the canvas rectangle having slightly wrong dimensions, but this at least fixes the 2D Filters.

7 years agoYou do not need to create an object to call a static function.
Jason Wilkins [Thu, 5 Jul 2012 20:44:42 +0000 (20:44 +0000)]
You do not need to create an object to call a static function.

7 years agoFix for [#31122] "Properties cant have Spaces in names when using interval as a evalu...
Mitchell Stokes [Thu, 5 Jul 2012 20:34:42 +0000 (20:34 +0000)]
Fix for [#31122] "Properties cant have Spaces in names when using interval as a evaluation. Or else it'll fail to activate actuator." reported by Auuman Anubis.

I cleaned up the INTERVAL check to do a much cleaner (and saner) range check that doesn't get messed up by spaces.

7 years agocode cleanup: use a define for bmesh hull epsilon
Campbell Barton [Thu, 5 Jul 2012 18:03:07 +0000 (18:03 +0000)]
code cleanup: use a define for bmesh hull epsilon

7 years agofix for error in own recebt commit, broke mask feathering.
Campbell Barton [Thu, 5 Jul 2012 18:02:28 +0000 (18:02 +0000)]
fix for error in own recebt commit, broke mask feathering.

7 years agoCosmetic updates to mesh validate messages.
Bastien Montagne [Thu, 5 Jul 2012 13:02:42 +0000 (13:02 +0000)]
Cosmetic updates to mesh validate messages.

7 years agofix for making local loosing references to node groups.
Campbell Barton [Thu, 5 Jul 2012 12:50:50 +0000 (12:50 +0000)]
fix for making local loosing references to node groups.

node->id was left as an indirect link which wont get saved with the file.

7 years agocode cleanup: replace magic numbers with enum.
Campbell Barton [Thu, 5 Jul 2012 12:09:43 +0000 (12:09 +0000)]
code cleanup: replace magic numbers with enum.

7 years agoScons:
Thomas Dinges [Thu, 5 Jul 2012 11:45:28 +0000 (11:45 +0000)]
Scons:
Fix for r48639, wrong syntax and wrong indent...

7 years agoUpdate build systems to copy needed dlls from MinGW-w64, turn openmp on by default...
Antony Riakiotakis [Thu, 5 Jul 2012 11:39:11 +0000 (11:39 +0000)]
Update build systems to copy needed dlls from MinGW-w64, turn openmp on by default for MinGW.

7 years agoadd the ability to make objects and obdata local but not materials.
Campbell Barton [Thu, 5 Jul 2012 11:37:04 +0000 (11:37 +0000)]
add the ability to make objects and obdata local but not materials.

7 years agoJapanese and Ukranian are now above 60% done, congrats!
Bastien Montagne [Thu, 5 Jul 2012 10:56:58 +0000 (10:56 +0000)]
Japanese and Ukranian are now above 60% done, congrats!

7 years agoAdded a default margin to the tile dependancy of the lens distortion
Jeroen Bakker [Thu, 5 Jul 2012 09:39:06 +0000 (09:39 +0000)]
Added a default margin to the tile dependancy of the lens distortion
node.

7 years agoAdjusted margin of the lens distortion
Jeroen Bakker [Thu, 5 Jul 2012 08:33:17 +0000 (08:33 +0000)]
Adjusted margin of the lens distortion

7 years agoMoved highlight code to the workscheduler.
Jeroen Bakker [Thu, 5 Jul 2012 06:34:31 +0000 (06:34 +0000)]
Moved highlight code to the workscheduler.

7 years agoDoxygen cleanup
Nicholas Rishel [Thu, 5 Jul 2012 04:47:47 +0000 (04:47 +0000)]
Doxygen cleanup

7 years agoCode cleanup: move PBVH ray/AABB intersection test to BLI_math_geom
Nicholas Bishop [Thu, 5 Jul 2012 03:55:55 +0000 (03:55 +0000)]
Code cleanup: move PBVH ray/AABB intersection test to BLI_math_geom

7 years agoDraw outdated point cache in a lighter color
Sergej Reich [Thu, 5 Jul 2012 02:58:02 +0000 (02:58 +0000)]
Draw outdated point cache in a lighter color

7 years agoFix for [#32016] Tracking Settings Presets not working
Thomas Dinges [Wed, 4 Jul 2012 23:00:49 +0000 (23:00 +0000)]
Fix for [#32016] Tracking Settings Presets not working
* Removed outdated properties from the presets.

Note: it does not fail anymore, but needs an update for new settings probably.

7 years agoChange order of inclusion to stop MinGW from complaining
Antony Riakiotakis [Wed, 4 Jul 2012 22:55:40 +0000 (22:55 +0000)]
Change order of inclusion to stop MinGW from complaining

7 years agostyle cleanup
Campbell Barton [Wed, 4 Jul 2012 21:41:05 +0000 (21:41 +0000)]
style cleanup

7 years agostyle cleanup
Campbell Barton [Wed, 4 Jul 2012 20:47:12 +0000 (20:47 +0000)]
style cleanup

7 years agocode cleanup: remove Python.h include from blenkernel.
Campbell Barton [Wed, 4 Jul 2012 20:13:39 +0000 (20:13 +0000)]
code cleanup: remove Python.h include from blenkernel.

7 years agofix for crash with zero area mask.
Campbell Barton [Wed, 4 Jul 2012 18:49:09 +0000 (18:49 +0000)]
fix for crash with zero area mask.

7 years agostyle cleanup
Campbell Barton [Wed, 4 Jul 2012 18:40:19 +0000 (18:40 +0000)]
style cleanup

7 years agoMinor update to make it work within i18n repo too.
Bastien Montagne [Wed, 4 Jul 2012 18:19:58 +0000 (18:19 +0000)]
Minor update to make it work within i18n repo too.

7 years agoBugfix Smoke / DynamicPaint: Missing update call from depsgraph was missing when...
Daniel Genrich [Wed, 4 Jul 2012 16:55:17 +0000 (16:55 +0000)]
Bugfix Smoke / DynamicPaint: Missing update call from depsgraph was missing when force fields were used.

7 years agoCmake / Boost:
Thomas Dinges [Wed, 4 Jul 2012 16:39:34 +0000 (16:39 +0000)]
Cmake / Boost:
* Code cleanup

7 years agoWindows (msvc 2010) is now using Boost 1.49 - Updated cmake file.
Alexander Pinzon [Wed, 4 Jul 2012 16:10:22 +0000 (16:10 +0000)]
Windows (msvc 2010) is now using Boost 1.49 - Updated cmake file.

7 years agofix for carve memory leak, update carve to hg bf36d92ff093
Campbell Barton [Wed, 4 Jul 2012 16:07:01 +0000 (16:07 +0000)]
fix for carve memory leak, update carve to hg bf36d92ff093
reported: http://code.google.com/p/carve/issues/detail?id=33

7 years agoLast spell checking (for now).
Bastien Montagne [Wed, 4 Jul 2012 15:52:07 +0000 (15:52 +0000)]
Last spell checking (for now).

Only mysterious courant from bpy.types.ParticleSettings.courant_target reamins...

7 years agoMore spell checking.
Bastien Montagne [Wed, 4 Jul 2012 15:04:38 +0000 (15:04 +0000)]
More spell checking.

7 years agospelling cleanup: metre -> er
Campbell Barton [Wed, 4 Jul 2012 12:56:58 +0000 (12:56 +0000)]
spelling cleanup: metre -> er

7 years agorelay the original node to a different place holder to resolve some
Jeroen Bakker [Wed, 4 Jul 2012 12:30:17 +0000 (12:30 +0000)]
relay the original node to a different place holder to resolve some
crashes.

7 years agoSpellfixes: colour -> color
Bastien Montagne [Wed, 4 Jul 2012 12:19:50 +0000 (12:19 +0000)]
Spellfixes: colour -> color

7 years agocycles changes:
Campbell Barton [Wed, 4 Jul 2012 11:48:42 +0000 (11:48 +0000)]
cycles changes:
- images that can't be loaded because of the limit are printed in the console.
- textures that can't be found show up as pink (so we know somethings wrong).

7 years agoTwo pass execution:
Jeroen Bakker [Wed, 4 Jul 2012 11:39:28 +0000 (11:39 +0000)]
Two pass execution:
1. first pass only fast nodes are calculated and only to the active
viewer node
2. second pass all nodes to all outputs

Temp disabled highlights because of random crashes.

7 years agoHighlight nodes that are being processed
Jeroen Bakker [Wed, 4 Jul 2012 10:01:45 +0000 (10:01 +0000)]
Highlight nodes that are being processed

7 years agoRevert the DNA pdef_stickness -> pdef_stickiness part of r48556.
Bastien Montagne [Wed, 4 Jul 2012 07:35:54 +0000 (07:35 +0000)]
Revert the DNA pdef_stickness -> pdef_stickiness part of r48556.

Forgot DNA needed stable names... :/ Correct spelling would involve keeping the old one for load code anyway, so better live with incorrect spelling here.

7 years agoMask node: create a copy of layers to be rasterized in initExecution
Sergey Sharybin [Wed, 4 Jul 2012 07:10:23 +0000 (07:10 +0000)]
Mask node: create a copy of layers to be rasterized in initExecution

This creates a list of splines to be rasterized in nitExecution which
is being called from main thread. This should resolve possible threading
issues discovered in tomato branch.

7 years agofix error in node template and quiet warning.
Campbell Barton [Tue, 3 Jul 2012 21:03:39 +0000 (21:03 +0000)]
fix error in node template and quiet warning.

7 years agoMore spell and typo fixes (mostly visualise->visualize, grey->gray, normalise->normal...
Bastien Montagne [Tue, 3 Jul 2012 19:09:07 +0000 (19:09 +0000)]
More spell and typo fixes (mostly visualise->visualize, grey->gray, normalise->normalize).

7 years agoMinor updates.
Bastien Montagne [Tue, 3 Jul 2012 19:06:43 +0000 (19:06 +0000)]
Minor updates.

7 years agoFirst load of spell and typo fixes (mostly UI messages, but also one or two pieces...
Bastien Montagne [Tue, 3 Jul 2012 17:20:21 +0000 (17:20 +0000)]
First load of spell and typo fixes (mostly UI messages, but also one or two pieces of code using mis-spelled names).

7 years agoAlso fix Anim Player button for node editor
Sergey Sharybin [Tue, 3 Jul 2012 16:04:26 +0000 (16:04 +0000)]
Also fix Anim Player button for node editor

7 years agoGrmph! module renaming broke the tool!
Bastien Montagne [Tue, 3 Jul 2012 15:05:10 +0000 (15:05 +0000)]
Grmph! module renaming broke the tool!

7 years agoFix #32002: "Anim Player" button on header doesn't appear
Sergey Sharybin [Tue, 3 Jul 2012 15:01:54 +0000 (15:01 +0000)]
Fix #32002: "Anim Player" button on header doesn't appear

7 years agoimage sequence - apply cyclic option AFTER the image offset,
Campbell Barton [Tue, 3 Jul 2012 14:25:06 +0000 (14:25 +0000)]
image sequence - apply cyclic option AFTER the image offset,
there was no way to properly loop on a sequence of images that didnt start frame 1.

7 years agodont display image sequences outside the frame range in the 3D viewport.
Campbell Barton [Tue, 3 Jul 2012 14:04:39 +0000 (14:04 +0000)]
dont display image sequences outside the frame range in the 3D viewport.

7 years agoFix for the "black F-Curves" bug on undo
Joshua Leung [Tue, 3 Jul 2012 13:47:13 +0000 (13:47 +0000)]
Fix for the "black F-Curves" bug on undo
(From personal stash of bugs - since early 2.5 versions)

F-Curve colors get applied only on Graph Editor "refresh()". In some cases, undo
was reverting back to a state where the colors had not yet been set. In these
cases, there would be no refresh() after that undo (until expanding a channel or
some other similar action), resulting in "black F-Curves" appearing. So, now we
force such an update after undo to ensure that the curves never display black.

(Noticed while investigating another bug for Mango related to
CLIP_OT_constraint_to_fcurve not sending notifiers required when new F-Curves
are added)

7 years agoMore exception words to the ui dico... :/
Bastien Montagne [Tue, 3 Jul 2012 13:24:13 +0000 (13:24 +0000)]
More exception words to the ui dico... :/

7 years agoMinor edits.
Bastien Montagne [Tue, 3 Jul 2012 13:15:23 +0000 (13:15 +0000)]
Minor edits.

7 years agoFix [#31977] Export Animated Mesh, terminate baking in fluid-sim
Bastien Montagne [Tue, 3 Jul 2012 12:40:19 +0000 (12:40 +0000)]
Fix [#31977] Export Animated Mesh, terminate baking in fluid-sim

* Elbeem exporter code now overrides user settings to No Slip in case the object is animated;
* UI of fluid obstacles now disables slip settings when export animated is enabled;
* Added in this later option's tooltip a mention that it enforces No Slip!

7 years agorename module to something less generic.
Campbell Barton [Tue, 3 Jul 2012 11:32:42 +0000 (11:32 +0000)]
rename module to something less generic.

7 years agofix (actually nasty workaround), for groups incorrectly drawing in the object panel...
Campbell Barton [Tue, 3 Jul 2012 10:32:10 +0000 (10:32 +0000)]
fix (actually nasty workaround), for groups incorrectly drawing in the object panel when the blend file has naming collisions with library data.

also minor style cleanup in bpy_rna.c

7 years agoOptimized the area of interest of the lensdistortion node.
Jeroen Bakker [Tue, 3 Jul 2012 09:05:19 +0000 (09:05 +0000)]
Optimized the area of interest of the lensdistortion node.
This will have faster feedback to the user, as lensdistortion is mostly
a node that is located at the end of a composite

7 years agoStyle edit (mostly), use """ for docstrings (not ''').
Bastien Montagne [Tue, 3 Jul 2012 09:02:41 +0000 (09:02 +0000)]
Style edit (mostly), use """ for docstrings (not ''').

Should also fix the broken py ops tips...

7 years agoCheck for nullpointers.
Jeroen Bakker [Tue, 3 Jul 2012 08:54:07 +0000 (08:54 +0000)]
Check for nullpointers.
The ID of group nodes are not always filled.

7 years agofix for memory leak in BKE_mesh_ensure_navmesh(), it would add 2 navmesh layers,...
Campbell Barton [Tue, 3 Jul 2012 08:16:14 +0000 (08:16 +0000)]
fix for memory leak in BKE_mesh_ensure_navmesh(), it would add 2 navmesh layers, once referencing the other.

7 years agofix for smoke writing uninitialized values to pointcache, not a big deal since they...
Campbell Barton [Tue, 3 Jul 2012 06:45:43 +0000 (06:45 +0000)]
fix for smoke writing uninitialized values to pointcache, not a big deal since they are ignored on reading.

7 years agoBugfix: Fix crashes with empty material slots
Joshua Leung [Tue, 3 Jul 2012 05:46:44 +0000 (05:46 +0000)]
Bugfix: Fix crashes with empty material slots

7 years agoFollowup for r.48515
Joshua Leung [Tue, 3 Jul 2012 05:30:19 +0000 (05:30 +0000)]
Followup for r.48515

* Removed material driver creation hack. However, the textures one remains, as
texture eval isn't ready yet
* Shuffled some code