svn merge ^/trunk/blender -r47150:47184
This commit is contained in:
@@ -139,7 +139,6 @@
|
||||
#include "BKE_screen.h"
|
||||
#include "BKE_sequencer.h"
|
||||
#include "BKE_text.h" // for txt_extended_ascii_as_utf8
|
||||
#include "BKE_texture.h" // for open_plugin_tex
|
||||
#include "BKE_tracking.h"
|
||||
#include "BKE_utildefines.h" // SWITCH_INT DATA ENDB DNA1 O_BINARY GLOB USER TEST REND
|
||||
#include "BKE_sound.h"
|
||||
@@ -2398,11 +2397,6 @@ static void direct_link_nodetree(FileData *fd, bNodeTree *ntree)
|
||||
|
||||
link_list(fd, &ntree->nodes);
|
||||
for (node = ntree->nodes.first; node; node = node->next) {
|
||||
if (node->type == NODE_DYNAMIC) {
|
||||
node->custom1 = 0;
|
||||
node->custom1 = BSET(node->custom1, NODE_DYNAMIC_LOADED);
|
||||
}
|
||||
|
||||
node->typeinfo = NULL;
|
||||
|
||||
link_list(fd, &node->inputs);
|
||||
@@ -3170,17 +3164,7 @@ static void direct_link_texture(FileData *fd, Tex *tex)
|
||||
{
|
||||
tex->adt = newdataadr(fd, tex->adt);
|
||||
direct_link_animdata(fd, tex->adt);
|
||||
|
||||
tex->plugin = newdataadr(fd, tex->plugin);
|
||||
if (tex->plugin) {
|
||||
tex->plugin->handle = NULL;
|
||||
open_plugin_tex(tex->plugin);
|
||||
/* initialize data for this instance, if an initialization
|
||||
* function exists.
|
||||
*/
|
||||
if (tex->plugin->instance_init)
|
||||
tex->plugin->instance_init((void *)tex->plugin->data);
|
||||
}
|
||||
|
||||
tex->coba = newdataadr(fd, tex->coba);
|
||||
tex->env = newdataadr(fd, tex->env);
|
||||
if (tex->env) {
|
||||
@@ -4963,7 +4947,6 @@ static void direct_link_scene(FileData *fd, Scene *sce)
|
||||
/* a patch: after introduction of effects with 3 input strips */
|
||||
if (seq->seq3 == NULL) seq->seq3 = seq->seq2;
|
||||
|
||||
seq->plugin = newdataadr(fd, seq->plugin);
|
||||
seq->effectdata = newdataadr(fd, seq->effectdata);
|
||||
|
||||
if (seq->type & SEQ_EFFECT)
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
#include "BKE_pointcache.h"
|
||||
#include "BKE_screen.h"
|
||||
#include "BKE_sequencer.h"
|
||||
#include "BKE_texture.h" // for open_plugin_tex
|
||||
#include "BKE_texture.h"
|
||||
#include "BKE_utildefines.h" // SWITCH_INT DATA ENDB DNA1 O_BINARY GLOB USER TEST REND
|
||||
#include "BKE_sound.h"
|
||||
|
||||
|
||||
@@ -716,7 +716,7 @@ static void write_nodetree(WriteData *wd, bNodeTree *ntree)
|
||||
write_node_socket(wd, sock);
|
||||
|
||||
|
||||
if (node->storage && node->type!=NODE_DYNAMIC) {
|
||||
if (node->storage) {
|
||||
/* could be handlerized at some point, now only 1 exception still */
|
||||
if (ntree->type==NTREE_SHADER && (node->type==SH_NODE_CURVE_VEC || node->type==SH_NODE_CURVE_RGB))
|
||||
write_curvemapping(wd, node->storage);
|
||||
@@ -1958,7 +1958,6 @@ static void write_textures(WriteData *wd, ListBase *idbase)
|
||||
if (tex->adt) write_animdata(wd, tex->adt);
|
||||
|
||||
/* direct data */
|
||||
if (tex->type == TEX_PLUGIN && tex->plugin) writestruct(wd, DATA, "PluginTex", 1, tex->plugin);
|
||||
if (tex->coba) writestruct(wd, DATA, "ColorBand", 1, tex->coba);
|
||||
if (tex->type == TEX_ENVMAP && tex->env) writestruct(wd, DATA, "EnvMap", 1, tex->env);
|
||||
if (tex->type == TEX_POINTDENSITY && tex->pd) {
|
||||
@@ -2152,7 +2151,6 @@ static void write_scenes(WriteData *wd, ListBase *scebase)
|
||||
if (seq->strip && seq->strip->done==0) {
|
||||
/* write strip with 'done' at 0 because readfile */
|
||||
|
||||
if (seq->plugin) writestruct(wd, DATA, "PluginSeq", 1, seq->plugin);
|
||||
if (seq->effectdata) {
|
||||
switch (seq->type) {
|
||||
case SEQ_COLOR:
|
||||
|
||||
Reference in New Issue
Block a user